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

修改过期时间

... ... @@ -729,6 +729,7 @@ class Index extends Api
"is_open": 1,
"is_real": 1,
"is_white": 1
"is_subscribe"://是否订阅 1订阅2未订阅
}
]
}
... ... @@ -1072,6 +1073,14 @@ class Index extends Api
}else{
$data['avatar'] = '';
}
//是否订阅
$is_subscribe = Db::name('subscribe')->where('user_id',$user_id)->where('to_user_id',$other_user_id)->find();
if(empty($is_subscribe)){
$data['is_subscribe'] = 2;
}else{
$data['is_subscribe'] = 1;
}
}
$data['leavel'] = $folder_info['leavel'];
$data['share_url'] = $folder_info['share_url'];
... ...