mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
支付宝登录
This commit is contained in:
@@ -28,6 +28,9 @@ public class AliPayConfig implements CommandLineRunner {
|
||||
@Value("${alipay.notifyUrl}")
|
||||
private String notifyUrl;
|
||||
|
||||
@Value("${alipay.encryptKey}")
|
||||
private String encryptKey;
|
||||
|
||||
@Override
|
||||
public void run(String... args) throws Exception {
|
||||
log.info(">>>>>>>>>>>>>>>服务启动执行,执行加载数据等操作 AliPayConfig order 2 <<<<<<<<<<<<<");
|
||||
@@ -50,8 +53,9 @@ public class AliPayConfig implements CommandLineRunner {
|
||||
config.alipayPublicKey = alipayPublicKey;
|
||||
// 可设置异步通知接收服务地址(可选)
|
||||
// config.notifyUrl = "<-- 请填写您的支付类接口异步通知接收服务地址,例如:https://www.test.com/callback -->";
|
||||
|
||||
// 可设置AES密钥,调用AES加解密相关接口时需要(可选)
|
||||
// config.encryptKey = "<-- 请填写您的AES密钥,例如:aa4BtZ4tspm2wnXLb1ThQA== -->";
|
||||
config.encryptKey = encryptKey;
|
||||
Factory.setOptions(config);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user