正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -223,7 +223,7 @@ class NewsLogic extends BaseLogic | @@ -223,7 +223,7 @@ class NewsLogic extends BaseLogic | ||
| 223 | $pattern = '/<img\s+[^>]*src=["\']([^"\']+)["\']/i'; | 223 | $pattern = '/<img\s+[^>]*src=["\']([^"\']+)["\']/i'; |
| 224 | $matches = []; | 224 | $matches = []; |
| 225 | preg_match_all($pattern, $text, $matches); | 225 | preg_match_all($pattern, $text, $matches); |
| 226 | - $text = $this->saveBase64Images($matches[1]); | 226 | + $text = $this->saveBase64Images($matches[1],$text); |
| 227 | if($this->user['project_id'] == 1618){ | 227 | if($this->user['project_id'] == 1618){ |
| 228 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($text, true) . PHP_EOL, FILE_APPEND); | 228 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($text, true) . PHP_EOL, FILE_APPEND); |
| 229 | } | 229 | } |
-
请 注册 或 登录 后发表评论