mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-13 06:20:07 +08:00
update 新增回调地址
This commit is contained in:
@@ -417,6 +417,8 @@ public class MemberService {
|
|||||||
createAdaPaymentParam.setGoods_desc("充电费用2");
|
createAdaPaymentParam.setGoods_desc("充电费用2");
|
||||||
createAdaPaymentParam.setDescription("充电费用3");
|
createAdaPaymentParam.setDescription("充电费用3");
|
||||||
createAdaPaymentParam.setExpend(JSONObject.toJSONString( ImmutableMap.of("open_id", dto.getOpenId())));
|
createAdaPaymentParam.setExpend(JSONObject.toJSONString( ImmutableMap.of("open_id", dto.getOpenId())));
|
||||||
|
//异步通知地址,url为http/https路径,服务器POST回调,URL 上请勿附带参数
|
||||||
|
createAdaPaymentParam.setNotify_url("https://api.jsowellcloud.com/uniapp/pay/adapayCallback");
|
||||||
try {
|
try {
|
||||||
log.info("创建汇付支付参数:{}", JSONObject.toJSONString(createAdaPaymentParam));
|
log.info("创建汇付支付参数:{}", JSONObject.toJSONString(createAdaPaymentParam));
|
||||||
Map<String, Object> response = Payment.create(BeanMap.create(createAdaPaymentParam));
|
Map<String, Object> response = Payment.create(BeanMap.create(createAdaPaymentParam));
|
||||||
|
|||||||
Reference in New Issue
Block a user