xiaogang 4 년 전
부모
커밋
9b423ed1b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {