编辑器远程抓取图片优化

This commit is contained in:
Devil
2021-07-27 12:29:31 +08:00
parent 7813eafd3d
commit 240a201bf1
3 changed files with 17 additions and 35 deletions

View File

@ -307,6 +307,7 @@ class UeditorService
$ret = ResourcesService::AttachmentAdd($data);
if($ret['code'] == 0)
{
$ret['data']['source'] = htmlspecialchars($imgUrl);
array_push($list, $ret['data']);
}
}