|
|
@@ -237,7 +237,8 @@ public class WxpayController {
|
|
|
//map.put("status", "SUCCESS");
|
|
|
if (WxPayConstants.TradeType.MWEB.equals(wxPayUnifiedOrderRequest.getTradeType())) {
|
|
|
/*H5支付开发步骤:https://pay.weixin.qq.com/wiki/doc/api/H5.php?chapter=15_4*/
|
|
|
- String mwebUrl = wxPayUnifiedOrderResult.getMwebUrl() + "&redirect_url=" + URLEncoder.encode(redirectUrl,"UTF-8");
|
|
|
+ //String mwebUrl = wxPayUnifiedOrderResult.getMwebUrl() + "&redirect_url=" + URLEncoder.encode(redirectUrl,"UTF-8");
|
|
|
+ String mwebUrl = wxPayUnifiedOrderResult.getMwebUrl();
|
|
|
map.put("mwebUrl", mwebUrl);
|
|
|
} else if (WxPayConstants.TradeType.NATIVE.equals(wxPayUnifiedOrderRequest.getTradeType())) {
|
|
|
//扫码支付
|
|
|
@@ -564,7 +565,6 @@ public class WxpayController {
|
|
|
private ProjectRecode createProjectRecode(String jsonStr) throws Exception {
|
|
|
JSONObject jsonObject = JSONObject.parseObject(jsonStr);
|
|
|
String imid = jsonObject.getString("imid");
|
|
|
- logger.info("移动端imid=" + imid);
|
|
|
Long uuid = null;
|
|
|
User user = SystemSession.getUser();
|
|
|
if (user != null) {
|