|
|
@@ -225,21 +225,12 @@ public class WeChatMinaPay {
|
|
|
String outTradeNo = wx_map.get("out_trade_no");
|
|
|
// 支付完成时间
|
|
|
String time_end = wx_map.get("time_end");
|
|
|
- // 获取fansId
|
|
|
- String fansId = "";
|
|
|
-
|
|
|
- HpUserPay hpUser = new HpUserPay();
|
|
|
- hpUser.setMinaOpenid(openid);
|
|
|
- hpUser = hpUserPayService.getByMinaOpenId(hpUser);
|
|
|
- if (hpUser != null) {
|
|
|
- fansId = hpUser.getId();
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
// 返回支付参数
|
|
|
SortedMap<Object, Object> params = new TreeMap<Object, Object>();
|
|
|
params.put("return_code", "SUCCESS");
|
|
|
params.put("result_code", "SUCCESS");
|
|
|
- params.put("fansId", fansId);
|
|
|
params.put("trade_state", trade_state);
|
|
|
params.put("total_fee", total_fee);
|
|
|
params.put("out_trade_no", outTradeNo);
|