|
...
|
...
|
@@ -119,7 +119,7 @@ class ProjectServer extends BaseService |
|
|
|
* @method :post
|
|
|
|
* @time :2023/12/29 9:34
|
|
|
|
*/
|
|
|
|
public function initModule($project_id){
|
|
|
|
public static function initModule($project_id){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(11111, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$info = DB::connection('custom_mysql')->table('gl_custom_module')->first();
|
|
|
|
if(empty($info)){
|
|
...
|
...
|
@@ -132,7 +132,6 @@ class ProjectServer extends BaseService |
|
|
|
];
|
|
|
|
DB::connection('custom_mysql')->table('gl_custom_module')->insert($data);
|
|
|
|
}
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export(22222, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
/**
|
...
|
...
|
|