method = "post"; $this->data = [(array)$order]; $this->url = config("api.syrius.request.create_order"); $response = $this->response(); if (!$response)dd("服务器通信异常,检查错误日志"); dd($response->body()); } public function getOrder(string $id) { $this->method = "get"; $this->url = config("api.syrius.request.find_order").$id; $response = $this->response(); if (!$response)dd("服务器通信异常,检查错误日志"); dd($response->body()); } }