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) {