提交 965308c5 authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 9a401da3
......@@ -66,6 +66,9 @@ public class WeChatPayImpl extends PayTypeAdapter{
// 扫码回调地址
@Value("${pay.wechatpay.notify_url}")
private String notify_url;
// H5支付场景信息
@Value("${scene_info}")
private String scene_info;
@Override
public List<PayTypeEnum> getEnums() {
......@@ -162,6 +165,9 @@ public class WeChatPayImpl extends PayTypeAdapter{
wecartPayReturn.setSign(paySign);
wecartPayReturn.setTimestamp(timestamp);
}
if(WeChartType.H5.getCode().equals(toPayForm.getTrade_type())){
data.put("scene_info", scene_info);
}
logger.info("wwwwwwwwwwwwwwwwwwww订单:" + toPayForm.getOut_trade_no() + "完成获取微信链接wwwwwwwwwwwwwwwwwwww");
return CallBack.success(wecartPayReturn);
} catch (Exception e) {
......
# h5\u652F\u4ED8\u573A\u666F\u4FE1\u606F
scene_info={"h5_info":{"type": "Wap", "wap_url": "http://test16.zhongdianyun.com/index.html#/","wap_name": "\u77e5\u4e86\u652f\u4ed8" }}
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论