提交 f57af915 编写于 作者: D Devil

插件配置读取优化

上级 8436fc75
......@@ -51,7 +51,8 @@ class PluginsService
if(!empty($ret['data']))
{
$data = json_decode($ret['data'], true);
if(!empty($data) && is_array($data))
{
// 是否有自定义附件需要处理
if(!empty($attachment_field) && is_array($attachment_field))
{
......@@ -87,6 +88,7 @@ class PluginsService
}
}
}
}
// 存储缓存
cache($key, $data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册