用户和页面设计导出权限处理

This commit is contained in:
gongfuxiang
2022-04-21 18:55:21 +08:00
parent 12dc026e4c
commit aa100a5b9e
2 changed files with 13 additions and 0 deletions

View File

@ -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)
{