This commit is contained in:
wangjinlei
2024-09-18 13:12:00 +08:00
parent 939ffa192f
commit ca7b19395b
2 changed files with 14 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ class Journal extends Base {
public function getJournalByeditor()
{
$user_id = $this->request->post('user_id');
$list = $this->journal_obj->where('editor_id',$user_id)->select();
$list = $this->journal_obj->where('editor_id',$user_id)->where("state",0)->select();
$re['journals'] = $list;
return jsonSuccess($re);
}