gorden пре 1 месец
родитељ
комит
fc9067f33b
1 измењених фајлова са 7 додато и 7 уклоњено
  1. 7 7
      app/admin/controller/order/WholeController.php

+ 7 - 7
app/admin/controller/order/WholeController.php

@@ -3910,12 +3910,12 @@ class WholeController extends Curd
         }
 
         $member = Member::find($memberId);
-        $mobile = $member->member_mobile;
-        $key = "SMS:CODE:WRITE_OFF:" . $mobile;
-        $redisCode = Redis::get($key);
-        if ($redisCode != $code) {
-            return json_fail("验证码错误,请重新输入");
-        }
+//        $mobile = $member->member_mobile;
+//        $key = "SMS:CODE:WRITE_OFF:" . $mobile;
+//        $redisCode = Redis::get($key);
+//        if ($redisCode != $code) {
+//            return json_fail("验证码错误,请重新输入");
+//        }
 
         $benefits = MemberBenefit::whereIn('member_benefit_id', $benefitIds)
             ->where('join_benefit_member_id', $memberId)
@@ -4032,7 +4032,7 @@ class WholeController extends Curd
                 }
             }
 
-            Redis::del($key);
+//            Redis::del($key);
 
             Db::commit();