Browse Source

h5支付调试

Evan 2 years ago
parent
commit
19c00027ab

+ 4 - 1
mp-service/src/main/java/com/qs/mp/pay/service/impl/WalletServiceImpl.java

@@ -191,7 +191,10 @@ public class WalletServiceImpl implements IWalletService {
       logger.error("签名失败,bizId=" + bizId, e);
       logger.error("签名失败,bizId=" + bizId, e);
       throw new ServiceException("支付发起签名失败");
       throw new ServiceException("支付发起签名失败");
     }
     }
-    JSONObject data = JSONObject.parseObject(params.toString());
+    // map转为jsonobject
+
+
+    JSONObject data = JSONObject.parseObject(JSONObject.toJSONString(params));
     return data;
     return data;
   }
   }