正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -185,8 +185,6 @@ class SyncProject extends Command | @@ -185,8 +185,6 @@ class SyncProject extends Command | ||
| 185 | ]; | 185 | ]; |
| 186 | // DB::beginTransaction(); | 186 | // DB::beginTransaction(); |
| 187 | // try { | 187 | // try { |
| 188 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(222222, true) . PHP_EOL, FILE_APPEND); | ||
| 189 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($data['project'], true) . PHP_EOL, FILE_APPEND); | ||
| 190 | $res = $this->saveProject($data['project']); | 188 | $res = $this->saveProject($data['project']); |
| 191 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export(333333, true) . PHP_EOL, FILE_APPEND); | 189 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export(333333, true) . PHP_EOL, FILE_APPEND); |
| 192 | $id = $res['id']; | 190 | $id = $res['id']; |
| @@ -254,6 +252,8 @@ class SyncProject extends Command | @@ -254,6 +252,8 @@ class SyncProject extends Command | ||
| 254 | $param['confirm_file'] = Arr::a2s($param['confirm_file']); | 252 | $param['confirm_file'] = Arr::a2s($param['confirm_file']); |
| 255 | } | 253 | } |
| 256 | $projectModel = new Project(); | 254 | $projectModel = new Project(); |
| 255 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export(222222, true) . PHP_EOL, FILE_APPEND); | ||
| 256 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND); | ||
| 257 | return $projectModel->addReturnId($param); | 257 | return $projectModel->addReturnId($param); |
| 258 | } | 258 | } |
| 259 | 259 |
-
请 注册 或 登录 后发表评论