...
|
...
|
@@ -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('缺少必要参数');
|
...
|
...
|
|