|
...
|
...
|
@@ -223,7 +223,7 @@ class NewsLogic extends BaseLogic |
|
|
|
$pattern = '/<img\s+[^>]*src=["\']([^"\']+)["\']/i';
|
|
|
|
$matches = [];
|
|
|
|
preg_match_all($pattern, $text, $matches);
|
|
|
|
$text = $this->saveBase64Images($matches[1]);
|
|
|
|
$text = $this->saveBase64Images($matches[1],$text);
|
|
|
|
if($this->user['project_id'] == 1618){
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($text, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
}
|
...
|
...
|
|