简要描述:

  • 获取子请求地址列表接口

请求 URL:

  • /api/shop/area/index

请求方式:

  • GET
  • POST

接口授权:

参数名称 类型 必选 长度 接口介绍
token String Y 128 授权时获取的token
pid String Y 0为省份列表

响应数据:

参数名称 数据格式
status 返回值:true/false
code 成功为 200
msg 提示信息
result [
{
“code”: 1,
“parent_code”: 0,
“level”: 0,
“text”: “北京”,
“state”: 1,
“remark”: “”,
“createtime”: 1512718940,
“updatetime”: 1513914956
},
……
]
 [
{
  "code": 1,
  "parent_code": 0,
  "level": 0,
  "text": "北京",
  "state": 1,
  "remark": "",
  "createtime": 1512718940,
  "updatetime": 1513914956,
}
]

相关字段说明

参数名称 类型 必选 长度 接口介绍
code Integer Y 11 请求地址编号
parent_code Integer Y 11 上级请求地址ID
text String Y 64 请求地址名称
level Integer Y 1 等级 0省1市2区
remark String Y 64 备注
文档更新时间: 2020-03-26 18:23   作者:管理员