作者 lyh

gx

@@ -20,7 +20,8 @@ class MailController extends BaseController @@ -20,7 +20,8 @@ class MailController extends BaseController
20 public function lists(){ 20 public function lists(){
21 $mailModel = new MailModel(); 21 $mailModel = new MailModel();
22 //获取当前用户下的所有站内信 22 //获取当前用户下的所有站内信
23 - $lists = $mailModel->where('user_list','like','%,'.$this->uid.',%')->orWhere('user_list', '')->select(['*'])->orderBy($this->order,'desc') 23 + $lists = $mailModel->where('status',0)
  24 + ->where('user_list','like','%,'.$this->uid.',%')->orWhere('user_list', '')->select(['*'])->orderBy($this->order,'desc')
24 ->paginate($this->row, ['*'], 'page', $this->page); 25 ->paginate($this->row, ['*'], 'page', $this->page);
25 if(!empty($lists)){ 26 if(!empty($lists)){
26 $lists = $lists->toArray(); 27 $lists = $lists->toArray();
@@ -46,6 +46,7 @@ class ProofreadingLogic extends BaseLogic @@ -46,6 +46,7 @@ class ProofreadingLogic extends BaseLogic
46 $v['project_id'] = $this->user['project_id']; 46 $v['project_id'] = $this->user['project_id'];
47 $v['language_id'] = $this->param['language_id']; 47 $v['language_id'] = $this->param['language_id'];
48 $v['type'] = $this->param['type']; 48 $v['type'] = $this->param['type'];
  49 + $v['alias'] = $this->param['alias'];
49 $this->param['data'][$k] = $v; 50 $this->param['data'][$k] = $v;
50 } 51 }
51 //新增 52 //新增