fix(api): 恢复错误提交

This commit is contained in:
fit2cloud-chenyw 2023-01-04 09:48:50 +08:00
parent 6e99a24ba0
commit cd3122f9e0

View File

@ -40,10 +40,10 @@ public class F2CDocFilter extends AccessControlFilter {
DefaultLicenseService defaultLicenseService = CommonBeanFactory.getBean(DefaultLicenseService.class); DefaultLicenseService defaultLicenseService = CommonBeanFactory.getBean(DefaultLicenseService.class);
F2CLicenseResponse f2CLicenseResponse = defaultLicenseService.validateLicense(); F2CLicenseResponse f2CLicenseResponse = defaultLicenseService.validateLicense();
Status status = f2CLicenseResponse.getStatus(); Status status = f2CLicenseResponse.getStatus();
/*if (status != Status.valid) { if (status != Status.valid) {
request.setAttribute(RESULT_URI_KEY, NOLIC_PAGE); request.setAttribute(RESULT_URI_KEY, NOLIC_PAGE);
return false; return false;
}*/ }
} catch (Exception e) { } catch (Exception e) {
request.setAttribute(RESULT_URI_KEY, NOLIC_PAGE); request.setAttribute(RESULT_URI_KEY, NOLIC_PAGE);
LogUtil.error(e.getMessage(), e); LogUtil.error(e.getMessage(), e);