client->post($path, $option); if ($response->getStatusCode() != '200'){ // 请求失败 throw new BusinessException(HttpEnumCode::SERVER_ERROR,$response->getBody()->getContents()); } return json_decode($response->getBody(),true); } }