Jonlin 6 năm trước cách đây
mục cha
commit
2c019f0590
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      application/service/controller/Login.php

+ 1 - 1
application/service/controller/Login.php

@@ -32,7 +32,7 @@ class Login extends Controller
             return json(['code' => -3, 'data' => '', 'msg' => '此账号已禁用']);
         }
 
-        $has = db('kfonline')->where('uid','kf'.$user['id'])->select();
+        $has = db('kfonline')->where('uid','KF'.$user['id'])->select();
         if(!empty($has)){
             return json(['code' => -4, 'data' => '', 'msg' => '此账号已登录']);
         }