Compare commits

..

7 Commits

2 changed files with 34 additions and 0 deletions

View File

@ -17,6 +17,17 @@
} }
return json($result); return json($result);
} }
//押金凭证列表
public function getDepositRechargeTransferVoucherList(): Json
{
$params=$this->request->get(['page_no','page_size','company_id']);
$result = curl_post(env('project.worker_domain').'/middleapi/company/getDepositRechargeTransferVoucherList',$params,$this->reqHeader);
if($result['code'] == 0){
return $this->fail($result['msg']);
}
return json($result);
}
//公司详情 //公司详情
public function detail(): Json public function detail(): Json
@ -139,4 +150,17 @@
} }
return json($result); return json($result);
} }
public function responsibleArea(): Json
{
$params = $this->request->get(['key','value','company_type']);
if(empty($params['key']) || empty($params['value']) || empty($params['company_type'])){
return $this->fail('缺少必要参数');
}
$result = curl_post(env('project.worker_domain').'/middleapi/company/responsibleArea',$params,$this->reqHeader);
if($result['code'] == 0){
return $this->fail($result['msg']);
}
return json($result);
}
} }

View File

@ -19,6 +19,16 @@ class UserController extends BaseAdminController
return $this->dataLists(new UserLists()); return $this->dataLists(new UserLists());
} }
public function taskLists(): Json
{
$params=$this->request->get(['page_no','page_size','company_id', 'account', 'mobile']);
$result = curl_post(env('project.worker_domain').'/middleapi/user/lists',$params,$this->reqHeader);
if($result['code'] == 0){
return $this->fail($result['msg']);
}
return json($result);
}
// 获取用户详情 // 获取用户详情
public function detail(): Json public function detail(): Json
{ {