|
@@ -166,12 +166,12 @@ class Login
|
|
|
public function mobilePost()
|
|
|
{
|
|
|
$mobile = input('mobile/s', '');
|
|
|
- /*$verify = input('verify/s', '');
|
|
|
+ $verify = input('verify/s', '');
|
|
|
|
|
|
$session_verify = session('verify');
|
|
|
if ($verify != $session_verify) {
|
|
|
page_result(1, '验证码错误!');
|
|
|
- }*/
|
|
|
+ }
|
|
|
|
|
|
$auth = UserAuthsModel::where(['identitytype' => 'mobile', 'identifier' => $mobile])->find();
|
|
|
if (empty($auth)) {
|