|
@@ -37,10 +37,6 @@ class LoginAuthMiddleware |
|
@@ -37,10 +37,6 @@ class LoginAuthMiddleware |
|
37
|
}
|
37
|
}
|
|
38
|
// 设置数据库
|
38
|
// 设置数据库
|
|
39
|
$project = ProjectServer::useProject($info['project_id']);
|
39
|
$project = ProjectServer::useProject($info['project_id']);
|
|
40
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export(22222, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
41
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export($info['project_id'], true) . PHP_EOL, FILE_APPEND);
|
|
|
|
42
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export($project, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
43
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export(1111111, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
44
|
if(empty($project)){
|
40
|
if(empty($project)){
|
|
45
|
return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'数据库未配置']);
|
41
|
return response(['code'=>Code::USER_LOGIN_ERROE,'msg'=>'数据库未配置']);
|
|
46
|
}
|
42
|
}
|