|
@@ -182,7 +182,9 @@ class Topicdongtai extends Api
|
|
|
}
|
|
|
$where['dt.user_id'] = $user_id;
|
|
|
$where['dt.status'] = 0;
|
|
|
-// $where['dt.auit_status'] = 1;
|
|
|
+ if($user_id != $this->auth->id){
|
|
|
+ $where['dt.auit_status'] = 1;
|
|
|
+ }
|
|
|
$orderby = 'dt.id desc';
|
|
|
|
|
|
$list = Db::name('topic_dongtai')->alias('dt')
|