正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
| @@ -212,10 +212,8 @@ class TicketUploadDataLogic extends BaseLogic | @@ -212,10 +212,8 @@ class TicketUploadDataLogic extends BaseLogic | ||
| 212 | 'short_description'=>$info['text']['short_description'] ?? '', | 212 | 'short_description'=>$info['text']['short_description'] ?? '', |
| 213 | 'images'=>$info['text']['images'] ?? '', | 213 | 'images'=>$info['text']['images'] ?? '', |
| 214 | ]); | 214 | ]); |
| 215 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($response, true) . PHP_EOL, FILE_APPEND); | ||
| 216 | if ($response->successful()) { | 215 | if ($response->successful()) { |
| 217 | $result = $response->json(); // 获取 JSON 响应体 | 216 | $result = $response->json(); // 获取 JSON 响应体 |
| 218 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($result, true) . PHP_EOL, FILE_APPEND); | ||
| 219 | if ($result && $result['status'] == 200) { | 217 | if ($result && $result['status'] == 200) { |
| 220 | return $this->success(); | 218 | return $this->success(); |
| 221 | } | 219 | } |
-
请 注册 或 登录 后发表评论