Browse Source

1、微信支付参数修改

master
Aug 1 month ago
parent
commit
5414270852
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      han-hai-module-pay/src/main/java/org/jeecg/modules/pay/MpWxPayService.java
  2. +1
    -1
      han-hai-module-pay/src/main/resources/pay_weixin.properties
  3. +2
    -2
      jeecg-boot-module-system/src/main/resources/pay_weixin.properties

+ 1
- 1
han-hai-module-pay/src/main/java/org/jeecg/modules/pay/MpWxPayService.java View File

@ -98,7 +98,7 @@ public class MpWxPayService {
request.setDetail(productName); //商品详情
request.setTotalFee(price); //总金额|分计
request.setSpbillCreateIp(clientIp); //终端IP
request.setNotifyUrl("http://augcl.natapp1.cc/massage-admin/massage/order/payOrderNotify");//设置回调路径
request.setNotifyUrl("https://www.yurangongfang.com/massage-admin/massage/order/payOrderNotify");//设置回调路径
request.setProductId(productId); //商品id
request.setOpenid(openId); //JSAPI OPENID
if (dev){


+ 1
- 1
han-hai-module-pay/src/main/resources/pay_weixin.properties View File

@ -7,7 +7,7 @@
pay.mchId=1712378227
pay.appId=wx77ba4c7131677a74
pay.mchKey=78e4e80a2096b362114a7afeefd2ef24
pay.mchKey=0fdb77429ffdf206c151af76a663041c
pay.keyPath=classpath:apiclient_cert.pem
pay.notifyUrl=http://h5.xzaiyp.top/massage-api/post/create
pay.notifyUrlDev=http://h5.xzaiyp.top/massage-api/post/notify


+ 2
- 2
jeecg-boot-module-system/src/main/resources/pay_weixin.properties View File

@ -1,5 +1,5 @@
pay.mchId=1681494138
pay.appId=wx15be4225a7e41a1e
pay.mchId=1712378227
pay.appId=wx77ba4c7131677a74
pay.mchKey=0fdb77429ffdf206c151af76a663041c
pay.keyPath=classpath:apiclient_cert.pem
pay.notifyUrl=http://h5.xzaiyp.top/massage-api/post/create


Loading…
Cancel
Save