作者 郭盛
1 个管道 的构建 通过 耗费 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')