GET api/sys/regions/{lang}
获取地区区域信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
lang | string |
Required |
Body Parameters
None.
Response Information
Resource Description
获取地区区域信息
ReturnResultOfListOfSysAreaContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of SysAreaContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "areaid": "sample string 1", "areaname": "sample string 2", "regions": [ { "regionId": "sample string 1", "regionName": "sample string 2" }, { "regionId": "sample string 1", "regionName": "sample string 2" } ] }, { "areaid": "sample string 1", "areaname": "sample string 2", "regions": [ { "regionId": "sample string 1", "regionName": "sample string 2" }, { "regionId": "sample string 1", "regionName": "sample string 2" } ] } ], "code": 1, "message": "sample string 2" }