Compare commits
7 Commits
8a66167310
...
a768dc5887
Author | SHA1 | Date |
---|---|---|
yaooo | a768dc5887 | |
yaooo | dcfc60ae56 | |
yaooo | d6284a9f79 | |
weiz | 8c29ff55a2 | |
weiz | 01a2557eb5 | |
yaooo | 8ba51174f5 | |
weiz | 75c18b93dd |
|
@ -17,6 +17,17 @@
|
|||
}
|
||||
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
|
||||
|
@ -139,4 +150,17 @@
|
|||
}
|
||||
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);
|
||||
}
|
||||
}
|
|
@ -19,6 +19,16 @@ class UserController extends BaseAdminController
|
|||
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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue