'修复已知问题'

dev-discount
199901012 4 years ago
parent 4ac022501e
commit 19e84a03af
  1. 2
      hai-cweb/src/main/java/com/cweb/controller/WechatController.java
  2. 1
      hai-cweb/src/main/java/com/cweb/controller/pay/OrderController.java

@ -129,7 +129,7 @@ public class WechatController {
if (phoneNoInfo == null || StringUtils.isEmpty(phoneNoInfo.getPurePhoneNumber())) {
throw ErrorHelp.genException(SysCode.MiniProgram, ErrorCode.WECHAT_DECRYPT_ERROR, "用户phoneNumber解析失败");
}
HighUser user = highUserService.findByPhone(phoneNoInfo.getPurePhoneNumber());
HighUser user = highUserService.findByOpenId(openId);
if (user == null) {
user = new HighUser();
user.setOpenId(openId);

@ -96,7 +96,6 @@ public class OrderController {
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR, "");
}
HighOrder order = highOrderService.getOrderById(orderId);
if(order == null) {
log.error("OrderController --> orderToPay() ERROR", "未找到订单信息");

Loading…
Cancel
Save