xiang 6 년 전
부모
커밋
48d2727563
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      application/service/controller/Login.php

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

@@ -120,9 +120,10 @@ class Login extends Controller
 
     private function _checkEnabledValid()
     {
+        return json(['code' => 0, 'data' =>'', 'msg' => '登录成功2222']);
         $checkcode = db('platform')->where('platform_code', 'Customer-Service')->find();
         $chkcode = $checkcode ? $checkcode['platform_status'] : 1;
-        return json(['code' => 0, 'data' => ['user' => $user[0]], 'msg' => '登录成功2222']);
+       
         return $chkcode;
     }