正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -239,6 +239,9 @@ class NewsLogic extends BaseLogic | @@ -239,6 +239,9 @@ class NewsLogic extends BaseLogic | ||
| 239 | if (preg_match('/^data:image\/(png|jpg|jpeg|gif);base64,/', $src, $match)) { | 239 | if (preg_match('/^data:image\/(png|jpg|jpeg|gif);base64,/', $src, $match)) { |
| 240 | $imageType = $match[1]; // Image type (png, jpg, etc.) | 240 | $imageType = $match[1]; // Image type (png, jpg, etc.) |
| 241 | $imageUrl = $this->manager_uploads($src,$imageType); | 241 | $imageUrl = $this->manager_uploads($src,$imageType); |
| 242 | + if($this->user['project_id'] == 1618){ | ||
| 243 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($imageUrl, true) . PHP_EOL, FILE_APPEND); | ||
| 244 | + } | ||
| 242 | $updatedSources[$imageUrl] = $src; | 245 | $updatedSources[$imageUrl] = $src; |
| 243 | } | 246 | } |
| 244 | } | 247 | } |
-
请 注册 或 登录 后发表评论