no message
This commit is contained in:
@ -84,10 +84,8 @@ public class WechatPayService {
|
|||||||
reqData.put("notify_url", notifyUrl);
|
reqData.put("notify_url", notifyUrl);
|
||||||
reqData.put("trade_type", "JSAPI");
|
reqData.put("trade_type", "JSAPI");
|
||||||
reqData.put("openid", request.getOpenId());
|
reqData.put("openid", request.getOpenId());
|
||||||
|
reqData.put("attach", request.getCompanyId().toString());
|
||||||
|
|
||||||
if (request.getAttach() != null) {
|
|
||||||
reqData.put("attach", request.getCompanyId().toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
// 调用微信统一下单接口
|
// 调用微信统一下单接口
|
||||||
Map<String, String> result = wxPay.unifiedOrder(reqData);
|
Map<String, String> result = wxPay.unifiedOrder(reqData);
|
||||||
|
|||||||
Reference in New Issue
Block a user