开放平台

获取店面列表

请求地址(POST)

https://openapi.1card1.cn/OpenApi/Get_ChainStorePagedV2?openId=[OpenId]&signature=[Signature]&timestamp=[TimeStamp]

字段 说明
OpenId 登陆开放平台生成的OpenId
Signature 签名=md5(OpenId+Secret+Timestamp+data),格式:32位md5大写加密
TimeStamp 发起请求的时间戳,查看标准timestamp

请求说明

data={"userAccount":"10003","where":" 1=1 ", "pageIndex":0,"pageSize":10,"orderBy":" storeName desc "}

字段 是否必须 说明
userAccount 工号
where 查询条件
pageIndex 页码
pageSize 页大小
orderBy 排序规则

返回说明

成功时返回:

{ "status":0, "total":2, "data":[ { "Guid": "a13ea1b4-3fe6-e311-8b81-90b11c47b4da", "StoreName": "辉煌国际中心店", "Contact":"小吴", "Tel":"66003231", "EnableMemberGroupDiscount":"True", "EnableMemberGroupPoint":"True", "EnableGoodsItemDiscount":"False", "EnableGoodsItemPoint":"False", "StorePointRate":"1.0000", "StoreDiscountRate":"1.0000", "BirthdayPointRate":"1.2500", "BirthdayDiscountRate":"0.8000", "EnablePointLimit":"True", "AvailableLimitPoint":"19970.0000", "EnableValueLimit":"True", "AvailableLimitValue":"99.0000", "EnableSmsLimit":"True", "AvailableLimitSms":"99", "ProvinceName":"", "CityName":"北京市", "CountyName":"海淀区", "Address":"上地十街", "ImagePath":"", "Description":"False", "Meno":"" }, { "Guid": "a13ea1b4-3fe6-e311-8b81-90b11c47b4da", "StoreName": "永乐门店", "Contact":"小李", "Tel":"13632651195", "EnableMemberGroupDiscount":"True", "EnableMemberGroupPoint":"True", "EnableGoodsItemDiscount":"False", "EnableGoodsItemPoint":"False", "StorePointRate":"1.0000", "StoreDiscountRate":"1.0000", "BirthdayPointRate":"1.2500", "BirthdayDiscountRate":"0.8000", "EnablePointLimit":"False", "AvailableLimitPoint":"19970.0000", "EnableValueLimit":"False", "AvailableLimitValue":"99.0000", "EnableSmsLimit":"False", "AvailableLimitSms":"99", "ProvinceName":"广东省", "CityName":"深圳市", "CountyName":"龙华新区", "Address":"民治大道", "ImagePath":"http://files.1card1.cn/166631/201403/201403281059339828.jpeg", "Description":"", "Meno":"" } ] }

字段 是否必须 说明
Guid 店面唯一标识
StoreName 店面名称
Contact 联系人
Tel 电话
EnableMemberGroupDiscount 会员级别是否打折(已弃用,请通过“获取积分折扣系数”获取)
EnableMemberGroupPoint 会员级别是否积分(已弃用,请通过“获取积分折扣系数”获取
EnableGoodsItemDiscount 商品是否打折(已弃用,请通过“获取积分折扣系数”获取)
EnableGoodsItemPoint 商品是否积分(已弃用,请通过“获取积分折扣系数”获取)
StorePointRate 店面积分系数(已弃用,请通过“获取积分折扣系数”获取)
StoreDiscountRate 店面折扣系数(已弃用,请通过“获取积分折扣系数”获取)
BirthdayPointRate 生日积分系数(已弃用,请通过“获取积分折扣系数”获取)
BirthdayDiscountRate 生日折扣系数(已弃用,请通过“获取积分折扣系数”获取)
EnablePointLimit 是否开启积分受限
AvailableLimitPoint 可用积分受限额
EnableValueLimit 是否开启储值受限
AvailableLimitValue 可用储值受限额
EnableSmsLimit 是否开启短信受限
AvailableLimitSms 可用短信受限数量
ProvinceName 省份
CityName 城市
CountyName 区县
Address 详细地址
ImagePath 图片路径
Description 描述
Meno 备注

失败时返回:

{"status":-1,"message":"查询失败及原因"}

字段 是否必须 说明
status 状态(0,成功;-1,失败)
message 查询失败及原因

获取店面列表 调试