request->get(['order_sn', 'status']); $result = curl_post(env('project.worker_domain').'/middleapi/withdraw/index',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } public function update(): Json { $params = $this->request->post(['id', 'status']); $result = curl_post(env('project.worker_domain').'/middleapi/withdraw/update',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } public function audit(): Json { $params = $this->request->post(['id', 'status', 'transfer_voucher', 'deny_desc']); $result = curl_post(env('project.worker_domain').'/middleapi/withdraw/audit',$params,$this->reqHeader); if($result['code'] == 0){ return $this->fail($result['msg']); } return json($result); } }