细节优化

feat/task1-c-wallet
gongfuxiang 2021-11-06 11:41:02 +08:00
parent c6ac3cfd30
commit ac22d2d32a
1 changed files with 0 additions and 2 deletions

View File

@ -85,7 +85,6 @@ class PluginsService
{
if(isset($data[$field]))
{
$data[$field.'_old'] = $data[$field];
$data[$field] = ResourcesService::AttachmentPathViewHandle($data[$field]);
}
}
@ -105,7 +104,6 @@ class PluginsService
{
if(in_array($ext, $attachment_ext))
{
$data[$k.'_old'] = $v;
$data[$k] = ResourcesService::AttachmentPathViewHandle($v);
}
}