---
title: "根据二级地区获取子国家列表"
method: GET
path: "/home/room/getRegionBySecondPartition"
tags: ["首页房间"]
---

# 根据二级地区获取子国家列表

`GET /home/room/getRegionBySecondPartition`

## Request

- Base URL: `http://api.oloo.live`
- URL: `http://api.oloo.live/home/room/getRegionBySecondPartition`
- Auth: none declared

根据二级地区ID获取关联国家列表

## Query parameters

- `uid` integer
- `secondPartitionId` integer, required

## Response `200`

OK

- WebServiceMessageListRegionPartitionItemDTO
  - `code` integer
  - `data` RegionPartitionItemDTO[]
    - `id` integer: 关联ID
    - `topPartitionId` integer: 一级分区ID
    - `secondPartitionId` integer: 二级分区ID
    - `regionId` integer: 国家/地区ID
    - `seqNo` integer: 排序
    - `simpleCode` string: 国家代码
    - `imgFileUrl` string: 国家图标
    - `nameZh` string: 国家中文名
  - `message` string
  - `time` integer

---

[API](https://skmtc.dev/oloo/apis/oloo-api.md) - [All operations](https://skmtc.dev/oloo/apis/oloo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/oloo/apis/oloo-api/revisions/ada91d3a60e4?raw)
