正在显示
1 个修改的文件
包含
3 行增加
和
5 行删除
| @@ -106,16 +106,14 @@ class SuppliersController extends BaseController | @@ -106,16 +106,14 @@ class SuppliersController extends BaseController | ||
| 106 | $api_url = 'api/company_linked'; | 106 | $api_url = 'api/company_linked'; |
| 107 | $action_name = 'company_linked'; | 107 | $action_name = 'company_linked'; |
| 108 | $param = [ | 108 | $param = [ |
| 109 | + 'domain'=>$this->param['domain'], | ||
| 109 | 'page'=>$this->page, | 110 | 'page'=>$this->page, |
| 110 | 'page_size'=>$this->row, | 111 | 'page_size'=>$this->row, |
| 111 | ]; | 112 | ]; |
| 112 | - if(!empty($this->param['domain'])){ | ||
| 113 | - $param['domain'] = $this->param['domain']; | ||
| 114 | - } | ||
| 115 | - if(!empty($this->param['keyword'])){ | 113 | + if(isset($this->param['keyword'])){ |
| 116 | $param['keyword'] = $this->param['keyword']; | 114 | $param['keyword'] = $this->param['keyword']; |
| 117 | } | 115 | } |
| 118 | - if(!empty($this->param['domain'])){ | 116 | + if(isset($this->param['position'])){ |
| 119 | $param['position'] = $this->param['position']; | 117 | $param['position'] = $this->param['position']; |
| 120 | } | 118 | } |
| 121 | $res = $this->_action($api_url,$action_name,$param); | 119 | $res = $this->_action($api_url,$action_name,$param); |
-
请 注册 或 登录 后发表评论