master
Aaaaaaaa 2024-09-09 16:25:14 +08:00
parent 467e39ae1f
commit e860c212c2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class AliPayConfig {
// 设置参数(全局只需设置一次) // 设置参数(全局只需设置一次)
Config config = new Config(); Config config = new Config();
config.protocol = "https"; config.protocol = "https";
config.gatewayHost = "https://openapi-sandbox.dl.alipaydev.com/gateway.do"; config.gatewayHost = "openapi-sandbox.dl.alipaydev.com";
config.signType = "RSA2"; config.signType = "RSA2";
config.appId = this.appId; config.appId = this.appId;
config.merchantPrivateKey = this.appPrivateKey; config.merchantPrivateKey = this.appPrivateKey;