正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -98,6 +98,10 @@ class Index extends Frontend | @@ -98,6 +98,10 @@ class Index extends Frontend | ||
98 | $qiniu = get_addon_config('qiniu')['cdnurl']; | 98 | $qiniu = get_addon_config('qiniu')['cdnurl']; |
99 | $user_id = $this->request->param('user_id'); | 99 | $user_id = $this->request->param('user_id'); |
100 | $file_id = $this->request->param('file_id'); | 100 | $file_id = $this->request->param('file_id'); |
101 | + $info_res = Db::name('folder')->where('id',$file_id)->find(); | ||
102 | + if($info_res['is_open'] == 2){ | ||
103 | + $this->error('该文件夹为私密,请在APP内打开'); | ||
104 | + } | ||
101 | 105 | ||
102 | //文件夹 | 106 | //文件夹 |
103 | $folder = Db::name('folder') | 107 | $folder = Db::name('folder') |
-
请 注册 或 登录 后发表评论