|
@@ -124,7 +124,7 @@ class Login extends Controller
|
|
|
Cache::set('sendcode_'.$phone,$code,600);
|
|
|
Cache::set('sendcode_preg',$pwd_preg,600);
|
|
|
Cache::set('sendcode_handle_id'.$handle_id, $phone, 600);
|
|
|
- $info = CMCC::sms($phone,$code);
|
|
|
+ CMCC::sms($phone,$code);
|
|
|
// $info = send_message::sendSms2UpDate($phone,$code);
|
|
|
log::record("login() set code => {handle_id: $handle_id \t code: $code \t phone: $phone \t}");
|
|
|
return json_encode(['status'=>'ok','code'=>'0000','need_code'=> true, 'phone' => $check, 'handle_id' => $handle_id]);
|