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

添加字段

... ... @@ -818,6 +818,13 @@ class Index extends Api
$qiniu = get_addon_config('qiniu')['cdnurl'];
$user_id = $this->auth->id;
$folder_id = $this->request->param('folder_id');
$folder_info = Db::name('folder')->where('id',$folder_id)->find();
if($folder_info['user_id'] == $user_id){
$data['is_mine'] = 1;
}else{
$data['is_mine'] = 2;
}
$other_user_id = $this->request->param('user_id');
if(empty($folder_id)){
$this->error('缺少必要参数');
... ...
... ... @@ -9081,7 +9081,7 @@
<div class="row mt0 footer">
<div class="col-md-6" align="left">
Generated on 2020-08-17 09:02:14 </div>
Generated on 2020-08-17 09:08:01 </div>
<div class="col-md-6" align="right">
<a href="./" target="_blank">彩云盘</a>
</div>
... ...