作者 郭盛
1 个管道 的构建 通过 耗费 0 秒

修改过期时间

... ... @@ -98,6 +98,10 @@ class Index extends Frontend
$qiniu = get_addon_config('qiniu')['cdnurl'];
$user_id = $this->request->param('user_id');
$file_id = $this->request->param('file_id');
$info_res = Db::name('folder')->where('id',$file_id)->find();
if($info_res['is_open'] == 2){
$this->error('该文件夹为私密,请在APP内打开');
}
//文件夹
$folder = Db::name('folder')
... ...