| 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, '该账号已被删除');
|
|
|
}
|