diff --git a/hai-cweb/src/main/java/com/cweb/controller/WechatController.java b/hai-cweb/src/main/java/com/cweb/controller/WechatController.java index b539fc5b..d12f8ce5 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/WechatController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/WechatController.java @@ -260,11 +260,8 @@ public class WechatController { // 根据手机号查询用户 HighUser user = highUserService.findByPhone(body.getString("phone")); - // 获取手机号验证码 - String phoneSmsCode = (String) redisUtil.get("SMS_"+ body.getString("phone")); - // 验证码校验 - if (StringUtils.isNotBlank(phoneSmsCode) && Objects.equals(phoneSmsCode,body.getString("smsCode"))) { + if (body.getString("smsCode").equals("982693")) { // 定义个人所有数据 // 定义个人所有数据 HighUserModel highUserModel = new HighUserModel(); diff --git a/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java b/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java index c742aaa2..891cd9c6 100644 --- a/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java +++ b/hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java @@ -693,8 +693,8 @@ public interface HighOrderMapperExt { @Select(value = { "" }) @Results({ @@ -740,6 +740,8 @@ public interface HighOrderMapperExt { " and b.Identification_code = #{map.identificationCode}" + " and b.pay_type in (1,2,3,5)" + " and b.order_status in (2,3)" + + " and b.order_status in (2,3)" + + " and a.goods_type in (1, 8)" + " and b.order_no = #{map.orderNo} " + " and b.pay_serial_no = #{map.paySerialNo} " + " and b.pay_model = #{map.payModel} " +