11.3获取商家列表

优质
小牛编辑
129浏览
2023-12-01

请求参数说明

参数描述必填示例值类型最大长度
action接口参数组object
└action需要调用的接口名称sys_getMcListstring
postPOST参数组object
└mcid商家编号string
└name商家名称1number
└msid门店编号1235number
└expiry_time_start过期开始时间123456number
└expiry_time_end过期结束时间string
└last_sort_id分页字段(取最后一条数据中的last_sort_id),默认00number
└page_size每页数量(默认20条,最大50条)20number

请求示例

{
	"action": {
		"action": "sys_getMcList"
	},
	"post": {
		"mcid": "",
		"name": "1",
		"msid": "1235",
		"expiry_time_start": "123456",
		"expiry_time_end": "",
		"last_sort_id": "0",
		"page_size": "20"
	}
}

响应参数说明

参数描述必填示例值类型最大长度
status返回状态。接口成功时为1,出错为01number
info错误时会返回相应的错误信息okstring
count33033number
listlist
└mcid商家编号1111number
└name商家名称苏州果盘string
└path企业代码gpstring
└city城市苏州市string
└create_time创建时间2019-09-17 15:03:48string
└type账户类型老板通string
└expiry_date过期时间2019-10-17string
└appid公众号appidstring
└last_sort_id33694number
msid1559number

响应示例

{
  "status": "1",
  "info": "ok",
  "count": "33033",
  "list": [
    {
      "mcid": "1111",
      "name": "苏州果盘",
      "path": "gp",
      "city": "苏州市",
      "create_time": "2019-09-17 15:03:48",
      "type": "老板通",
      "expiry_date": "2019-10-17",
      "appid": "",
      "last_sort_id": "33694"
    }
  ],
  "server_timestamp": 1568704865,
  "server_time": "2019-09-17 15:21:05",
  "server_name": "api-97.hz",
  "msid": "1559"
}