Showing
2 changed files
with
9 additions
and
2 deletions
@@ -31,6 +31,13 @@ public class AlipayConfig { | @@ -31,6 +31,13 @@ public class AlipayConfig { | ||
31 | private String ouyinAppid; | 31 | private String ouyinAppid; |
32 | @Value("${alipay.ouyin.partner:2088421850636193}") | 32 | @Value("${alipay.ouyin.partner:2088421850636193}") |
33 | private String ouyinPartner; | 33 | private String ouyinPartner; |
34 | + | ||
35 | + @Value("${alipay.crossBorder.appid:2088121119526910}") | ||
36 | + private String crossBorderAppid; | ||
37 | + | ||
38 | + @Value("${alipay.crossBorder.partner:2088121119526910}") | ||
39 | + private String crossBorderPartner; | ||
40 | + | ||
34 | @Value("${alipay.ouyin.email:ouyin@yoho.cn}") | 41 | @Value("${alipay.ouyin.email:ouyin@yoho.cn}") |
35 | private String ouyinEmail; | 42 | private String ouyinEmail; |
36 | 43 |
@@ -28,8 +28,8 @@ public class AlipayCrossBorderService extends AbstractAlipayService { | @@ -28,8 +28,8 @@ public class AlipayCrossBorderService extends AbstractAlipayService { | ||
28 | @Override | 28 | @Override |
29 | protected AlipaySignatureSetting getAlipaySignatureSetting() { | 29 | protected AlipaySignatureSetting getAlipaySignatureSetting() { |
30 | return new AlipaySignatureSetting( | 30 | return new AlipaySignatureSetting( |
31 | - "2088121119526910", | ||
32 | - "2088121119526910", | 31 | + alipayConfig().crossBorderAppid(), |
32 | + alipayConfig().crossBorderAppid(), | ||
33 | false, | 33 | false, |
34 | "RSA" | 34 | "RSA" |
35 | ); | 35 | ); |
-
Please register or login to post a comment