mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
update 电单车协议
This commit is contained in:
@@ -11,7 +11,7 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
@Order(2)
|
||||
@Order(4)
|
||||
public class AliPayConfig implements CommandLineRunner {
|
||||
@Value("${alipay.gatewayHost}")
|
||||
private String gatewayHost;
|
||||
@@ -33,7 +33,6 @@ public class AliPayConfig implements CommandLineRunner {
|
||||
|
||||
@Override
|
||||
public void run(String... args) throws Exception {
|
||||
log.info(">>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 AliPayConfig order 2 <<<<<<<<<<<<<");
|
||||
// 设置参数(全局只需设置一次)
|
||||
Config config = new Config();
|
||||
config.protocol = Constants.HTTPS;
|
||||
@@ -57,5 +56,6 @@ public class AliPayConfig implements CommandLineRunner {
|
||||
// 可设置AES密钥,调用AES加解密相关接口时需要(可选)
|
||||
config.encryptKey = encryptKey;
|
||||
Factory.setOptions(config);
|
||||
log.info(">>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 AliPayConfig order 4 <<<<<<<<<<<<<");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user