mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
细节优化
This commit is contained in:
@ -131,7 +131,13 @@ class Plugins extends Common
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -129,7 +129,7 @@ class Plugins extends Common
|
||||
if(is_string($ret))
|
||||
{
|
||||
$this->assign('msg', $ret);
|
||||
return $this->fetch('public/tips_error');
|
||||
return $this->fetch('public/tips_error');
|
||||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user