Commit 05ee1d3a authored by hujun's avatar hujun

取消发送短信注释

parent b86340a8
......@@ -110,7 +110,7 @@ class Member extends Basic
$message = new MessageUntils();
$_code = mt_rand(1000, 9999) . '';
// $result = $message->sendCCPSMS($phone, array($_code, '5分钟'), 214759);
$result = $message->sendCCPSMS($phone, array($_code, '5分钟'), 214759);
$jwt = new JwtUntils();
$noteLog->phone = $phone;
$noteLog->template_msg = '【同联商业】您的验证码为'.$_code.',请于5分钟内正确输入,如非本人操作,请忽略此短信。';
......@@ -184,7 +184,7 @@ class Member extends Basic
$note = new NoteLog();
$note_data = $note->field('id,code,send_time')->where([
'phone'=> $phone,
'code'=>$code,
'code' => $code,
'is_success'=>1
])->find();
......@@ -192,6 +192,8 @@ class Member extends Basic
return $this->response(101, '请重新获取验证码');
}
} else {
return $this->response(101, 'token is null');
}
$data['status'] = 101;
......@@ -242,6 +244,8 @@ class Member extends Basic
$data['msg'] = '验证码错误';
}
} else {
$data['msg'] = '该手机号已注册';
}
$user_data->update_time = $date;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment