|
|
@ -99,13 +99,13 @@ public class MpWxPayService { |
|
|
|
request.setTotalFee(price); //总金额|分计 |
|
|
|
request.setSpbillCreateIp(clientIp); //终端IP |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.anqi.shop/a-notice-api/api/order/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/order/notify");//设置回调路径 |
|
|
|
request.setProductId(productId); //商品id |
|
|
|
request.setOpenid(openId); //JSAPI OPENID |
|
|
|
if (dev){ |
|
|
|
request.setTotalFee(price); |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrlDev); |
|
|
|
request.setNotifyUrl("https://admin.anqi.shop/a-notice-api/api/order/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/order/notify");//设置回调路径 |
|
|
|
} |
|
|
|
try { |
|
|
|
Object order = wxPayService.createOrder(request); |
|
|
@ -140,13 +140,13 @@ public class MpWxPayService { |
|
|
|
request.setTotalFee(price); //总金额|分计 |
|
|
|
request.setSpbillCreateIp(clientIp); //终端IP |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径 |
|
|
|
request.setNotifyUrl("http://test-lzx.natapp1.cc/a-notice-api/api/order/notify2");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/order/notify2");//设置回调路径 |
|
|
|
request.setProductId(productId); //商品id |
|
|
|
request.setOpenid(openId); //JSAPI OPENID |
|
|
|
if (dev){ |
|
|
|
request.setTotalFee(price); |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrlDev); |
|
|
|
request.setNotifyUrl("http://test-lzx.natapp1.cc/a-notice-api/api/order/notify2");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/order/notify2");//设置回调路径 |
|
|
|
} |
|
|
|
try { |
|
|
|
Object order = wxPayService.createOrder(request); |
|
|
@ -182,13 +182,13 @@ public class MpWxPayService { |
|
|
|
request.setTotalFee(price); //总金额|分计 |
|
|
|
request.setSpbillCreateIp(clientIp); //终端IP |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.anqi.shop/a-notice-api/api/order/notify3");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/order/notify3");//设置回调路径 |
|
|
|
request.setProductId(productId); //商品id |
|
|
|
request.setOpenid(openId); //JSAPI OPENID |
|
|
|
if (dev){ |
|
|
|
request.setTotalFee(price); |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrlDev); |
|
|
|
request.setNotifyUrl("https://admin.anqi.shop/a-notice-api/api/order/notify3");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/order/notify3");//设置回调路径 |
|
|
|
} |
|
|
|
try { |
|
|
|
Object order = wxPayService.createOrder(request); |
|
|
@ -226,13 +226,13 @@ public class MpWxPayService { |
|
|
|
request.setTotalFee(price); //总金额|分计 |
|
|
|
request.setSpbillCreateIp(clientIp); //终端IP |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径 |
|
|
|
request.setNotifyUrl("http://h5.xzaiyp.top/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
request.setProductId(productId); //商品id |
|
|
|
request.setOpenid(openId); //JSAPI OPENID |
|
|
|
if (dev){ |
|
|
|
request.setTotalFee(price); |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrlDev); |
|
|
|
request.setNotifyUrl("http://h5.xzaiyp.top/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
} |
|
|
|
try { |
|
|
|
Object order = wxPayService.createOrder(request); |
|
|
@ -268,13 +268,13 @@ public class MpWxPayService { |
|
|
|
request.setTotalFee(price); //总金额|分计 |
|
|
|
request.setSpbillCreateIp(clientIp); //终端IP |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径 |
|
|
|
request.setNotifyUrl("http://h5.xzaiyp.top/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
request.setProductId(productId); //商品id |
|
|
|
request.setOpenid(openId); //JSAPI OPENID |
|
|
|
if (dev){ |
|
|
|
request.setTotalFee(price); |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrlDev); |
|
|
|
request.setNotifyUrl("http://h5.xzaiyp.top/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/pay-api/info/notify");//设置回调路径 |
|
|
|
} |
|
|
|
try { |
|
|
|
Object order = wxPayService.createOrder(request); |
|
|
@ -318,13 +318,13 @@ public class MpWxPayService { |
|
|
|
request.setTotalFee(price); //总金额|分计 |
|
|
|
request.setSpbillCreateIp(clientIp); //终端IP |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrl);//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.csnaicheng.com/h5-api/api/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/notify");//设置回调路径 |
|
|
|
request.setProductId(productId); //商品id |
|
|
|
request.setOpenid(openId); //JSAPI OPENID |
|
|
|
if (dev){ |
|
|
|
request.setTotalFee(price); |
|
|
|
// request.setNotifyUrl(wxPay.notifyUrlDev); |
|
|
|
request.setNotifyUrl("https://admin.csnaicheng.com/h5-api/api/notify");//设置回调路径 |
|
|
|
request.setNotifyUrl("https://admin.ytonggao.com/a-notice-api/api/notify");//设置回调路径 |
|
|
|
} |
|
|
|
try { |
|
|
|
Object order = wxPayService.createOrder(request); |
|
|
|