|
...
|
...
|
@@ -108,12 +108,18 @@ class SuppliersController extends BaseController |
|
|
|
$api_url = 'api/company_linked';
|
|
|
|
$action_name = 'company_linked';
|
|
|
|
$param = [
|
|
|
|
'domain'=>$this->param['domain'] ?? '',
|
|
|
|
'keyword'=>$this->param['keyword'] ?? '',
|
|
|
|
'position'=>$this->param['position'] ?? '',
|
|
|
|
'page'=>$this->page,
|
|
|
|
'page_size'=>$this->row,
|
|
|
|
];
|
|
|
|
if(!empty($this->param['domain'])){
|
|
|
|
$param['domain'] = $this->param['domain'];
|
|
|
|
}
|
|
|
|
if(!empty($this->param['keyword'])){
|
|
|
|
$param['keyword'] = $this->param['keyword'];
|
|
|
|
}
|
|
|
|
if(!empty($this->param['domain'])){
|
|
|
|
$param['position'] = $this->param['position'];
|
|
|
|
}
|
|
|
|
$res = $this->_action($api_url,$action_name,$param);
|
|
|
|
$this->response('success',Code::SUCCESS,$res);
|
|
|
|
}
|
...
|
...
|
|