dev-discount
袁野 3 years ago
parent 047afe86cb
commit 2b5d7c4cf1
  1. 8
      hai-service/src/main/java/com/hai/config/CommonSysConfig.java
  2. 2
      hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.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;
}
}

@ -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);

Loading…
Cancel
Save