xiaogang 4 năm trước cách đây
mục cha
commit
9b423ed1b7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {