|
...
|
...
|
@@ -71,7 +71,7 @@ class HandleNewsText extends Command |
|
|
|
$matches = [];
|
|
|
|
preg_match_all($pattern, $text, $matches);
|
|
|
|
$text = $this->saveBase64Images($matches[1],$text);
|
|
|
|
return $this->success($text);
|
|
|
|
return ($text);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -91,7 +91,7 @@ class HandleNewsText extends Command |
|
|
|
$text = str_replace($src, $imageUrl, $text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $this->success($text);
|
|
|
|
return ($text);
|
|
|
|
}
|
|
|
|
/**
|
|
|
|
* @remark :自调用
|
...
|
...
|
|