| @@ -51,11 +51,9 @@ public class WebConfig implements WebMvcConfigurer { | |||||
| @Autowired | @Autowired | ||||
| private CurrentTenantInterceptor tenantInterceptor; | private CurrentTenantInterceptor tenantInterceptor; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private MallResourceService mallResourceService; | private MallResourceService mallResourceService; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private AliyunOSS aliyunOSS; | private AliyunOSS aliyunOSS; | ||||
| @@ -12,7 +12,6 @@ import org.springframework.stereotype.Component; | |||||
| @Component | @Component | ||||
| public class WechatMpConfig { | public class WechatMpConfig { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private WechatWebProperties wechatWebProperties; | private WechatWebProperties wechatWebProperties; | ||||
| @@ -34,7 +34,6 @@ import java.util.Date; | |||||
| public class SystemLogAspect { | public class SystemLogAspect { | ||||
| private static final Logger logger = LoggerFactory.getLogger(SystemLogAspect.class); | private static final Logger logger = LoggerFactory.getLogger(SystemLogAspect.class); | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private MallUserActionService mallUserActionService; | private MallUserActionService mallUserActionService; | ||||
| @@ -42,7 +42,6 @@ import java.util.*; | |||||
| @Component | @Component | ||||
| public class TableOperateAspect { | public class TableOperateAspect { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private InvestOperateRecordService operateRecordService; | private InvestOperateRecordService operateRecordService; | ||||
| @@ -36,11 +36,9 @@ import java.util.HashSet; | |||||
| public class UserDataRuleAspect { | public class UserDataRuleAspect { | ||||
| private static final Logger logger = LoggerFactory.getLogger(UserDataRuleAspect.class); | private static final Logger logger = LoggerFactory.getLogger(UserDataRuleAspect.class); | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private WxUserDataRuleService wxUserDataRuleService; | private WxUserDataRuleService wxUserDataRuleService; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private WxRentContractMapper wxRentContractMapper; | private WxRentContractMapper wxRentContractMapper; | ||||
| @@ -19,15 +19,12 @@ import com.iformall.service.MallPermissionService; | |||||
| //@Service | //@Service | ||||
| public class ShiroService { | public class ShiroService { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private ShiroFilterFactoryBean shiroFilterFactoryBean; | private ShiroFilterFactoryBean shiroFilterFactoryBean; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private MallPermissionService resourcesService; | private MallPermissionService resourcesService; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private RedisSessionDAO redisSessionDAO; | private RedisSessionDAO redisSessionDAO; | ||||
| /** | /** | ||||
| @@ -44,15 +44,12 @@ public class RedisCacheAspect { | |||||
| */ | */ | ||||
| private static final String DELIMITER_KEY = ":"; | private static final String DELIMITER_KEY = ":"; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private StringRedisTemplate stringRedisTemplate; | private StringRedisTemplate stringRedisTemplate; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| RedisLock redisLock; | RedisLock redisLock; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private WxBuserTokenService userTokenService; | private WxBuserTokenService userTokenService; | ||||
| @@ -28,7 +28,6 @@ import javax.servlet.http.HttpServletResponse; | |||||
| @Component | @Component | ||||
| public class AuthorizationInterceptor extends HandlerInterceptorAdapter { | public class AuthorizationInterceptor extends HandlerInterceptorAdapter { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private CUserTokenService cUserTokenService; | private CUserTokenService cUserTokenService; | ||||
| @@ -25,7 +25,6 @@ import org.springframework.web.method.support.ModelAndViewContainer; | |||||
| @Component | @Component | ||||
| public class LoginUserHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver { | public class LoginUserHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private WxCUserBasicInfoService wxCUserBasicInfoService; | private WxCUserBasicInfoService wxCUserBasicInfoService; | ||||
| @@ -18,15 +18,12 @@ import java.util.Map; | |||||
| //@Service | //@Service | ||||
| public class ShiroService { | public class ShiroService { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private ShiroFilterFactoryBean shiroFilterFactoryBean; | private ShiroFilterFactoryBean shiroFilterFactoryBean; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private MallPermissionService resourcesService; | private MallPermissionService resourcesService; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private RedisSessionDAO redisSessionDAO; | private RedisSessionDAO redisSessionDAO; | ||||
| /** | /** | ||||
| @@ -25,7 +25,6 @@ import org.springframework.web.method.support.ModelAndViewContainer; | |||||
| @Component | @Component | ||||
| public class LoginUserHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver { | public class LoginUserHandlerMethodArgumentResolver implements HandlerMethodArgumentResolver { | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private WxCUserBasicInfoService wxCUserBasicInfoService; | private WxCUserBasicInfoService wxCUserBasicInfoService; | ||||
| @@ -25,7 +25,6 @@ import java.util.Map; | |||||
| public class SystemLogAspect { | public class SystemLogAspect { | ||||
| private static final Logger logger = LoggerFactory.getLogger(SystemLogAspect.class); | private static final Logger logger = LoggerFactory.getLogger(SystemLogAspect.class); | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private PosActionLogService posActionLogService; | private PosActionLogService posActionLogService; | ||||
| @@ -45,15 +45,12 @@ public class RedisCacheAspect { | |||||
| */ | */ | ||||
| private static final String DELIMITER_KEY = ":"; | private static final String DELIMITER_KEY = ":"; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private StringRedisTemplate stringRedisTemplate; | private StringRedisTemplate stringRedisTemplate; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| RedisLock redisLock; | RedisLock redisLock; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| private CUserTokenService cUserTokenService; | private CUserTokenService cUserTokenService; | ||||
| @@ -36,12 +36,10 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter { | |||||
| private final String[] notKeys = {"sign","appId","appKey","signKey"}; | private final String[] notKeys = {"sign","appId","appKey","signKey"}; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| @Qualifier("objectCommonRedisTemplate") | @Qualifier("objectCommonRedisTemplate") | ||||
| RedisTemplate<String, Object> redisTemplate; | RedisTemplate<String, Object> redisTemplate; | ||||
| @Lazy | |||||
| @Autowired | @Autowired | ||||
| WxThirdPartyApiService wxThirdPartyApiService; | WxThirdPartyApiService wxThirdPartyApiService; | ||||