文檔
測試
POST
http://www.domain.com/index.php/Api/area

接口描述

城市分站

請求參數

參數名
類型
描述
必填
top
number
0-全部 1-開(kāi)啓推薦
必填
con
number
0-全部 1-開(kāi)啓獨立内容
必填
url
number
0-全部 1-開(kāi)啓二級域名
必填
limit
number
必填

響應參數

參數名
類型
描述
必填
state
number
狀态碼
必填
info
string
描述
必填
data
array
結果集
必填

說明 / 示例

# 請求示例 `http://www.domain.com/index.php/api/area?limit=5` # 響應示例 ```language { "state": 200, "info": "請求成(chéng)功", "data": [ { "id": 34, "title": "台灣省", "stitle": "台灣", "etitle": "taiwan", "pid": 0, "sort": 0, "istop": 1, "iscon": 0, "isurl": 1, "url": "http:\/\/taiwan.yunucms.cn" }, { "id": 2, "title": "上海市", "stitle": "上海", "etitle": "shanghai", "pid": 0, "sort": 0, "istop": 1, "iscon": 0, "isurl": 1, "url": "http:\/\/shanghai.yunucms.cn" }, { "id": 3, "title": "天津市", "stitle": "天津", "etitle": "tianjing", "pid": 0, "sort": 0, "istop": 1, "iscon": 0, "isurl": 1, "url": "http:\/\/tianjing.yunucms.cn" }, { "id": 4, "title": "重慶市", "stitle": "重慶", "etitle": "chongqing", "pid": 0, "sort": 0, "istop": 1, "iscon": 0, "isurl": 1, "url": "http:\/\/chongqing.yunucms.cn" }, { "id": 5, "title": "廣東省", "stitle": "廣東", "etitle": "guangdong", "pid": 0, "sort": 0, "istop": 1, "iscon": 0, "isurl": 1, "url": "http:\/\/guangdong.yunucms.cn" }] } ```