|
@@ -10,6 +10,7 @@ import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
import org.springframework.core.env.Environment;
|
|
import org.springframework.core.env.Environment;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -18,6 +19,7 @@ import java.util.Base64;
|
|
|
|
|
|
|
|
|
|
@Service
|
|
@Service
|
|
|
|
+@Lazy
|
|
public class WechatPayService {
|
|
public class WechatPayService {
|
|
private static final Logger LOG = LoggerFactory.getLogger(WechatPayService.class);
|
|
private static final Logger LOG = LoggerFactory.getLogger(WechatPayService.class);
|
|
|
|
|