Commit 3fa359b8 authored by jiaorz's avatar jiaorz

修改支付宝支付方式

parent 73d35be7
package com.xxfc.platform.universal.biz;
import cn.hutool.core.text.UnicodeUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;
......@@ -322,8 +323,8 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> {
request.setNotifyUrl(orderPayVo.getNotifyUrl());
log.info("请求参数:param = {}", request.getBizModel().toString());
AlipayTradeAppPayResponse response = alipayClient.sdkExecute(request);
log.info(response.getBody());//就是orderString 可以直接给客户端请求,无需再做处理。
return response.getBody();
log.info(UnicodeUtil.toUnicode(response.getBody()));//就是orderString 可以直接给客户端请求,无需再做处理。
return UnicodeUtil.toUnicode(response.getBody());
} catch (Exception e) {
e.printStackTrace();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment