|
...
|
...
|
@@ -779,15 +779,15 @@ class ProjectController extends BaseController |
|
|
|
* @author zbj
|
|
|
|
* @date 2023/9/11
|
|
|
|
*/
|
|
|
|
public function getProjectByChannel(){
|
|
|
|
public function getProjectByChannel(Request $request){
|
|
|
|
$id = $this->param['id'] ?? '';
|
|
|
|
$notice_order_id = $this->param['notice_order_id'] ?? '';
|
|
|
|
$source_id = $this->param['channel_id'] ?? 0; //原系统渠道id
|
|
|
|
$size = $this->param['page_size'] ?? 20;
|
|
|
|
$type = $this->param['type'] ?? '';
|
|
|
|
$company = $this->param['company'] ?? '';
|
|
|
|
$order_by_field = trim($this->param['order_by_field']) ?? 'id';
|
|
|
|
$order_by_sort = trim($this->param['order_by_sort']) ?? 'desc';
|
|
|
|
$order_by_field = $request->input('order_by_field', 'id');
|
|
|
|
$order_by_sort = $request->input('order_by_sort', 'desc');
|
|
|
|
|
|
|
|
if(!$source_id && !$id){
|
|
|
|
$this->response('参数异常',Code::SYSTEM_ERROR);
|
...
|
...
|
|