|
@@ -107,7 +107,7 @@ class Topicdongtai extends Api
|
|
|
|
|
|
$where = ['dt.user_id'=>$uid];
|
|
|
if($uid != $this->auth->id){
|
|
|
- $where['dt.is_public'] = 1; //不是自己的,就只能看公开的
|
|
|
+ $where['dt.is_public'] = 1; //不是自己的,就只能看公开的。公开:1=公开,2=私密
|
|
|
}
|
|
|
|
|
|
$list = Db::name('topic_dongtai')->alias('dt')
|