api附件处理
parent
dc5ca2bd13
commit
1959292bbc
|
|
@ -51,7 +51,7 @@ class Ueditor extends Common
|
||||||
$ret = UeditorService::Run($this->data_request);
|
$ret = UeditorService::Run($this->data_request);
|
||||||
if($ret['code'] == 0 && !empty($ret['data']['url']))
|
if($ret['code'] == 0 && !empty($ret['data']['url']))
|
||||||
{
|
{
|
||||||
$ret['data']['url'] = ResourcesService::AttachmentPathViewHandle($ret['data']['url']);
|
$ret['data']['url'] = ResourcesService::AttachmentPathViewHandle(ResourcesService::AttachmentPathHandle($ret['data']['url']));
|
||||||
}
|
}
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue