代码优化

This commit is contained in:
shimingxy
2024-08-13 12:18:34 +08:00
parent feb71561a3
commit 30711097d3
27 changed files with 31 additions and 67 deletions

View File

@@ -62,7 +62,7 @@ public class SAML20DetailsController extends BaseAppContorller {
static final Logger logger = LoggerFactory.getLogger(SAML20DetailsController.class);
@Autowired
private KeyStoreLoader keyStoreLoader;
KeyStoreLoader keyStoreLoader;
@Autowired
AppsSaml20DetailsService saml20DetailsService;

View File

@@ -39,7 +39,7 @@ public class CnfEmailSendersController {
static final Logger logger = LoggerFactory.getLogger(CnfEmailSendersController.class);
@Autowired
private CnfEmailSendersService emailSendersService;
CnfEmailSendersService emailSendersService;
@RequestMapping(value={"/get"})
public Message<?> get(@CurrentUser UserInfo currentUser){

View File

@@ -42,7 +42,7 @@ public class CnfLdapContextController {
static final Logger logger = LoggerFactory.getLogger(CnfLdapContextController.class);
@Autowired
private CnfLdapContextService ldapContextService;
CnfLdapContextService ldapContextService;
@RequestMapping(value={"/get"}, produces = {MediaType.APPLICATION_JSON_VALUE})
public Message<?> get(@CurrentUser UserInfo currentUser){

View File

@@ -41,7 +41,7 @@ public class CnfPasswordPolicyController {
static final Logger logger = LoggerFactory.getLogger(CnfPasswordPolicyController.class);
@Autowired
private CnfPasswordPolicyService passwordPolicyService;
CnfPasswordPolicyService passwordPolicyService;
@RequestMapping(value={"/get"}, produces = {MediaType.APPLICATION_JSON_VALUE})
public Message<?> get(@CurrentUser UserInfo currentUser){

View File

@@ -40,7 +40,7 @@ public class CnfSmsProviderController {
static final Logger logger = LoggerFactory.getLogger(CnfSmsProviderController.class);
@Autowired
private CnfSmsProviderService smsProviderService;
CnfSmsProviderService smsProviderService;
@RequestMapping(value={"/get"}, produces = {MediaType.APPLICATION_JSON_VALUE})
public Message<?> get(@CurrentUser UserInfo currentUser){

View File

@@ -37,7 +37,7 @@ public class InstitutionsController {
static final Logger logger = LoggerFactory.getLogger(InstitutionsController.class);
@Autowired
private InstitutionsService institutionsService;
InstitutionsService institutionsService;
@RequestMapping(value={"/get"}, produces = {MediaType.APPLICATION_JSON_VALUE})
public Message<?> get(@CurrentUser UserInfo currentUser){

View File

@@ -51,7 +51,7 @@ public class LoginEntryPoint {
AuthTokenService authTokenService;
@Autowired
protected ApplicationConfig applicationConfig;
ApplicationConfig applicationConfig;
@Autowired
AbstractAuthenticationProvider authenticationProvider ;

View File

@@ -33,7 +33,7 @@ public class LogoutEndpoint {
private static Logger logger = LoggerFactory.getLogger(LogoutEndpoint.class);
@Autowired
protected SessionManager sessionManager;
SessionManager sessionManager;
@GetMapping(value={"/logout"})
public Message<?> logout(HttpServletRequest request,@CurrentUser UserInfo currentUser){

View File

@@ -46,7 +46,7 @@ public class LoginAppsHistoryController {
static final Logger logger = LoggerFactory.getLogger(LoginAppsHistoryController.class);
@Autowired
protected HistoryLoginAppsService historyLoginAppsService;
HistoryLoginAppsService historyLoginAppsService;
/**
* @param loginAppsHistory

View File

@@ -77,7 +77,7 @@ public class UserInfoController {
static final Logger logger = LoggerFactory.getLogger(UserInfoController.class);
@Autowired
private UserInfoService userInfoService;
UserInfoService userInfoService;
@Autowired
FileUploadService fileUploadService;