xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
9b423ed1b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/Api/AuthorizationsController.php

+ 1 - 1
app/Http/Controllers/Api/AuthorizationsController.php

xqd
@@ -130,7 +130,7 @@ class AuthorizationsController extends Controller
                     'mobile' => $mobile,
                 ]);
             }
-            $user = User::query()->where(['mobile'=>$mobile])->whereNull('deleted_at')->first();
+            $user = User::query()->where(['mobile'=>$mobile,'is_distory'=>0])->whereNull('deleted_at')->first();
         }
 
         if (!$user->ycode) {