|
@@ -3910,12 +3910,12 @@ class WholeController extends Curd
|
|
}
|
|
}
|
|
|
|
|
|
$member = Member::find($memberId);
|
|
$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)
|
|
$benefits = MemberBenefit::whereIn('member_benefit_id', $benefitIds)
|
|
->where('join_benefit_member_id', $memberId)
|
|
->where('join_benefit_member_id', $memberId)
|
|
@@ -4032,7 +4032,7 @@ class WholeController extends Curd
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- Redis::del($key);
|
|
|
|
|
|
+// Redis::del($key);
|
|
|
|
|
|
Db::commit();
|
|
Db::commit();
|
|
|
|
|