mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-08 22:40:43 +08:00
用户和页面设计导出权限处理
This commit is contained in:
@ -177,6 +177,13 @@ class Design extends Common
|
||||
*/
|
||||
public function Download()
|
||||
{
|
||||
// 是否有权限
|
||||
if(!AdminIsPower())
|
||||
{
|
||||
return $this->error('无权限');
|
||||
}
|
||||
|
||||
// 下载数据
|
||||
$ret = DesignService::DesignDownload($this->data_request);
|
||||
if(isset($ret['code']) && $ret['code'] != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user