diff --git a/hai-service/src/main/java/com/hai/config/CommonSysConfig.java b/hai-service/src/main/java/com/hai/config/CommonSysConfig.java index cfb0a9e4..00a0442b 100644 --- a/hai-service/src/main/java/com/hai/config/CommonSysConfig.java +++ b/hai-service/src/main/java/com/hai/config/CommonSysConfig.java @@ -398,4 +398,12 @@ public class CommonSysConfig { public void setCzUrl(String czUrl) { CzUrl = czUrl; } + + public String getCzAppSecret() { + return CzAppSecret; + } + + public void setCzAppSecret(String czAppSecret) { + CzAppSecret = czAppSecret; + } } diff --git a/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java index 33c1af8f..eabe446f 100644 --- a/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java @@ -374,7 +374,7 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { map.put("is_fast" , "1"); map.put("notify_url" , CommonSysConst.getSysConfig().getCzNotifyUrl()); - String signStr = WxUtils.generateSignatureAppSecret(map, CommonSysConst.getSysConfig().getTelApiSecret() , WXPayConstants.SignType.MD5); + String signStr = WxUtils.generateSignatureAppSecret(map, CommonSysConst.getSysConfig().getCzAppSecret() , WXPayConstants.SignType.MD5); map.put("sign" , signStr);