提交 99f28c2b 编写于 作者: D devil_gong

细节优化

上级 478d91bc
...@@ -131,7 +131,13 @@ class Plugins extends Common ...@@ -131,7 +131,13 @@ class Plugins extends Common
return $this->fetch('public/tips_error'); return $this->fetch('public/tips_error');
} }
} }
return $obj->$pluginsaction($params); $ret = $obj->$pluginsaction($params);
if(is_string($ret))
{
$this->assign('msg', $ret);
return $this->fetch('public/tips_error');
}
return $ret;
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册