|
@@ -30,7 +30,6 @@ class Forum extends Base
|
|
|
parent::initialize();
|
|
|
parent::checkLogin();
|
|
|
if(!$this->user_id) parent::setUid();
|
|
|
- if($this->user_id == 97) $this->user_id =83;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -840,7 +839,7 @@ class Forum extends Base
|
|
|
{
|
|
|
// 所有我评论的回答
|
|
|
$all_comment = ForumReplyComment::where(['user_id'=>$this->user_id,'is_deleted'=>0])->column('id');
|
|
|
- if(empty($all_comment)) $this->success('ok',['list'=>null]);
|
|
|
+ if(empty($all_comment)) $this->success('ok',['list'=>null,'ext'=>$all_comment]);
|
|
|
$sel_where = [];
|
|
|
$title = input('get.title');
|
|
|
if($title) $sel_where[] = ['i.title','like','%'.$title.'%'];
|