|
|
@@ -38,7 +38,7 @@ public class EnPlusServiceImpl implements EnPlusService {
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(EnPlusServiceImpl.class);
|
|
|
static OkHttpClient HTTP_CLIENT = new OkHttpClient.Builder().build();
|
|
|
private final RedisTemplate<String, String> redisTemplate;
|
|
|
- @Lazy
|
|
|
+
|
|
|
private final EnPlusServiceHelper enPlusServiceHelper;
|
|
|
@Value("${en-plus.operatorId}")
|
|
|
private String OperatorId;
|
|
|
@@ -47,7 +47,7 @@ public class EnPlusServiceImpl implements EnPlusService {
|
|
|
@Value("${en-plus.sigSecret}")
|
|
|
private String SigSecret;
|
|
|
|
|
|
- public EnPlusServiceImpl(RedisTemplate<String, String> redisTemplate, EnPlusServiceHelper enPlusServiceHelper) {
|
|
|
+ public EnPlusServiceImpl(RedisTemplate<String, String> redisTemplate, @Lazy EnPlusServiceHelper enPlusServiceHelper) {
|
|
|
this.redisTemplate = redisTemplate;
|
|
|
this.enPlusServiceHelper = enPlusServiceHelper;
|
|
|
}
|