简要描述:
- 获取门店信息、累计金额、可提现金额
请求URL:
GET/plugin.store-cashier.frontend.store.center.index.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|
返回示例:
正确时返回:
{
result: 1,
msg: "请求数据成功",
data: {
store: {
name: "门店一",
thumb: "http://test.yunzshop.com/attachment/images/2/2017/06/N3B72h3I3GeXB3o3ehGTYBahoT33E2.jpg",
store_id: 6,
validity: 10
},
income: {
money_total: "114.00",
sure_withdraw_money: "0.00"
}
}
}
20200605-正确时返回:
{
"result": 1,
"msg": "请求数据成功",
"data": {
"store": {
"name": "18026357601",
"thumb": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/12/Ta4Kkzhqbbk0z235k3Hkkw56c922u4.jpg",
"store_id": 4,
"validity": 1,
"my_shop_show": "1",
"is_open_yun_horn": "0",
"is_open_zkc_pay": "0",
"created_at": {
"date": "2019-04-19 18:08:23.000000",
"timezone_type": 3,
"timezone": "PRC"
}
},
"income": {
"money_total": "206.00",
"sure_withdraw_money": "106.00"
},
"nearby": false,
"store_product_set": null,
"specify_show": "0"
}
}
错误时返回:
{
result: 0,
msg: "不是门店",
data: [ ]
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
name | string | 门店名称 |
thumb | string | 门店图片 |
store_id | int | 门店ID |
validity | int | 有效期(年) |
money_total | float | 累计金额 |
sure_withdraw_money | float | 可提现金额 |
specify_show | int | 指定点击门店进入页面 0门店首页 1门店商品页 20200605新加 |
store['my_shop_show'] | int | 是否显示我的店铺 0不显示 1显示 20200605新加 |
operating_state | int | 经营状态0休息,1开启 |
备注:
- 更多返回错误代码请看首页的错误代码描述