[TOC]
## 獲取區域列表
~~~[api]
post:/merchant/regionlist
string:key#排序字段名 如 id, name
string:order#排序規則
*int:page#頁碼
*int:limit#每頁數量
string:title#名字篩選
int:state#狀態篩選
<<<
返回結果
{
"code": 0,
"info": "success",
"data": [
{
"id": 1000,
"title": "陜西",
"state": 0-停用 1-啟用
}
]
}
~~~
## 創建區域
~~~[api]
post:/merchant/addregion
<<<
請求內容
{
"title": "A3"
}
<<<
返回結果
{
"code": 0,
"info": "success",
"data":
{
"id": 1000,
"title": "陜西",
"state": 0-停用 1-啟用
}
}
~~~
## 編輯區域
~~~[api]
post:/merchant/editregion
<<<
請求內容
{
"id": 1000,
"title": "北京",
"state": 0
}
<<<
返回結果
{
"code": 0,
"info": "success",
"data":
{
}
}
~~~