提交 ac22d2d3 编写于 作者: G gongfuxiang

细节优化

上级 c6ac3cfd
...@@ -85,7 +85,6 @@ class PluginsService ...@@ -85,7 +85,6 @@ class PluginsService
{ {
if(isset($data[$field])) if(isset($data[$field]))
{ {
$data[$field.'_old'] = $data[$field];
$data[$field] = ResourcesService::AttachmentPathViewHandle($data[$field]); $data[$field] = ResourcesService::AttachmentPathViewHandle($data[$field]);
} }
} }
...@@ -105,7 +104,6 @@ class PluginsService ...@@ -105,7 +104,6 @@ class PluginsService
{ {
if(in_array($ext, $attachment_ext)) if(in_array($ext, $attachment_ext))
{ {
$data[$k.'_old'] = $v;
$data[$k] = ResourcesService::AttachmentPathViewHandle($v); $data[$k] = ResourcesService::AttachmentPathViewHandle($v);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册