正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -120,6 +120,7 @@ class ProjectServer extends BaseService | @@ -120,6 +120,7 @@ class ProjectServer extends BaseService | ||
| 120 | * @time :2023/12/29 9:34 | 120 | * @time :2023/12/29 9:34 |
| 121 | */ | 121 | */ |
| 122 | public function initModule($project_id){ | 122 | public function initModule($project_id){ |
| 123 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export(11111, true) . PHP_EOL, FILE_APPEND); | ||
| 123 | $info = DB::connection('custom_mysql')->table('gl_custom_module')->first(); | 124 | $info = DB::connection('custom_mysql')->table('gl_custom_module')->first(); |
| 124 | if(empty($info)){ | 125 | if(empty($info)){ |
| 125 | $data = [ | 126 | $data = [ |
| @@ -131,6 +132,7 @@ class ProjectServer extends BaseService | @@ -131,6 +132,7 @@ class ProjectServer extends BaseService | ||
| 131 | ]; | 132 | ]; |
| 132 | DB::connection('custom_mysql')->table('gl_custom_module')->insert($data); | 133 | DB::connection('custom_mysql')->table('gl_custom_module')->insert($data); |
| 133 | } | 134 | } |
| 135 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export(22222, true) . PHP_EOL, FILE_APPEND); | ||
| 134 | return true; | 136 | return true; |
| 135 | } | 137 | } |
| 136 | /** | 138 | /** |
-
请 注册 或 登录 后发表评论