浏览代码

消费记录取消验证码校验

fanzherong_v 2 月之前
父节点
当前提交
f9089c8a0f

+ 1 - 1
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/consumptionrecord/service/impl/ConsumptionRecordServiceImpl.java

@@ -185,7 +185,7 @@ public class ConsumptionRecordServiceImpl extends ServiceImpl<ConsumptionRecordM
             if(StringUtils.equals(consumptionRecordAddParam.getConsumptionOperate(),"3")){
                 Object code = commonCacheOperator.get(consumptionRecordAddParam.getPhoneNumber());
                 if(!StringUtils.equals(code.toString(),consumptionRecordAddParam.getPhoneCode())){
-                    throw new CommonException("验证码不正确!");
+                    //throw new CommonException("验证码不正确!");
                 }else{
                     commonCacheOperator.remove(consumptionRecordAddParam.getPhoneNumber());
                 }