|
|
@@ -163,6 +163,7 @@ public class WxPayController {
|
|
|
String returnCode = params.get("return_code");
|
|
|
String outTradeNo = params.get("out_trade_no");
|
|
|
String payTimeStr = params.get("time_end");
|
|
|
+ String openId = params.get("openid");
|
|
|
Date payTime = DateUtil.parse(payTimeStr);
|
|
|
|
|
|
// 注意此处签名方式需与统一下单的签名类型一致 WxPayApiConfigKit.getWxPayApiConfig().getPartnerKey()
|
|
|
@@ -186,6 +187,7 @@ public class WxPayController {
|
|
|
orderInfo.setPayFee(new BigDecimal(params.get("total_fee")).divide(new BigDecimal(100)));
|
|
|
orderInfo.setTransactionId(params.get("transaction_id"));
|
|
|
orderInfo.setPayTime(payTime);
|
|
|
+ orderInfo.setOpenId(openId);
|
|
|
orderInfoService.update(orderInfo);
|
|
|
// orderLogService.insert2(new OrderLog(orderInfo.getId(), "支付完成", orderInfo.getCreateBy()));
|
|
|
|