dataLists(new AccountLogLists()); } public function taskLists(): Json { $params = $this->request->get(['company_id', 'change_type', 'user_info', 'type', 'start_time', 'end_time']); halt($params); $result = curl_post(env('project.worker_domain').'/middleapi/account_log/lists',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } /** * @notes 用户余额变动类型 * @return \think\response\Json * @author 段誉 * @date 2023/2/24 15:25 */ public function getUmChangeType() { return $this->data(AccountLogEnum::getUserMoneyChangeTypeDesc()); } public function getTaskUmChangeType(): Json { $params = $this->request->get(); $result = curl_post(env('project.worker_domain').'/middleapi/account_log/getUmChangeType',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } public function getTaskCompanyUserList(): Json { $params = $this->request->get(['company_id']); $result = curl_post(env('project.worker_domain').'/middleapi/account_log/getCompanyUserList',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } }