Mike 4 년 전
부모
커밋
2c02446012
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Models/User.php

+ 2 - 2
app/Models/User.php

xqd
@@ -57,8 +57,8 @@ class User extends BaseModel
             if (empty($arr['doctor_id'])) {
                 exit_out(null, 401, '医生验证失效,请重新登录');
             }
-
-            $user = Docter::where('id', $arr['doctor_id'])->first();
+            $user = DB::table('docters')->where('id', $arr['doctor_id'])->first();
+//            $user = Docter::where('id', $arr['doctor_id'])->first();
             if (empty($user)){
                 exit_out(null, 601, '该账号已被删除');
             }