Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -29,6 +29,9 @@ class EmailController extends BaseController | @@ -29,6 +29,9 @@ class EmailController extends BaseController | ||
| 29 | 29 | ||
| 30 | public function list(Email $emailModel) | 30 | public function list(Email $emailModel) |
| 31 | { | 31 | { |
| 32 | + if(!empty($this->param['email'])){ | ||
| 33 | + $this->map['email'] = ['like','%'.$this->param['email'].'%']; | ||
| 34 | + } | ||
| 32 | $lists = $emailModel->lists($this->map, $this->page, $this->row); | 35 | $lists = $emailModel->lists($this->map, $this->page, $this->row); |
| 33 | $this->response('success', Code::SUCCESS, $lists); | 36 | $this->response('success', Code::SUCCESS, $lists); |
| 34 | } | 37 | } |
-
请 注册 或 登录 后发表评论