From 16da0ad1fda1dffa3019425a6887d38ed4217f44 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 10 Jan 2021 14:26:02 +0800 Subject: [PATCH] Merge branch 'api' into order_reform --- zq-erp/src/main/java/com/matrix/component/wechat/externalInterface/common/WechatConfigure.java | 19 +++---------------- 1 files changed, 3 insertions(+), 16 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/component/wechat/externalInterface/common/WechatConfigure.java b/zq-erp/src/main/java/com/matrix/component/wechat/externalInterface/common/WechatConfigure.java index 30d2a22..0a37ebc 100644 --- a/zq-erp/src/main/java/com/matrix/component/wechat/externalInterface/common/WechatConfigure.java +++ b/zq-erp/src/main/java/com/matrix/component/wechat/externalInterface/common/WechatConfigure.java @@ -9,7 +9,7 @@ // 这个就是自己要保管好的私有Key了(切记只能放在自己的后台代码里,不能放在任何可能被看到源代码的客户端程序中) // 每次自己Post数据给API的时候都要用这个key来对所有字段进行签名,生成的签名会放在Sign这个字段,API收到Post数据的时候也会用同样的签名算法对Post过来的数据进行签名和验证 // 收到API的返回的时候也要用这个key来对返回的数据算下签名,跟API的Sign数据进行比较,如果值不一致,有可能数据被第三方给篡改 - public static final String PAY_NOTIFY_URL="https://xcxhive2.jyymatrix.cc/wxCommon/wxpayCallback"; + // 交易类型 public static final String TRADE_TYPE_JSAPI = "JSAPI"; public static final String TRADE_TYPE_NATIVE = "NATIVE"; @@ -17,28 +17,15 @@ public static final String SIGN_MD5 = "MD5"; //域名 - - // 微信支付秘钥 - public static String key = "3hbNHPOSXx85rC0QEqvGgIHu1wduT4Qc"; - - // 微信分配的公众号ID(开通公众号之后可以获取到) - public static String appID = "wx3836ab3c1490ff29"; - - - // 微信支付分配的商户号ID(开通公众号的微信支付功能之后可以获取到) - public static String mchID = "1573208361"; - - - public static String web_appID = "1486409192"; + // 受理模式下给子商户分配的子商户号 public static String subMchID = ""; // HTTPS证书的本地路径 public static String certLocalPath = "/home/cert/apiclient_cert.p12"; - // HTTPS证书密码,默认密码等于商户号MCHID - public static String certPassword = "1573208361"; + // 是否使用异步线程的方式来上报API测速,默认为异步模式 public static boolean useThreadToDoReport = true; -- Gitblit v1.9.1