简要描述:
请求域名:
请求URL:
GET/plugin.store-cashier.admin.store-data.get-detail
参数:
参数名 |
是否必须 |
类型 |
说明 |
id |
是 |
int |
门店id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"order_data": {
"cashier_price": "407.00",
"cashier_pay_price": "407.00",
"cashier_pay_count": "8.00",
"cashier_amount": "407.00",
"store_price": "100.00",
"store_pay_price": "100.00",
"store_pay_count": "1.00",
"store_amount": "0.00",
"cashier_amount_settle": "404.00",
"cashier_amount_split": 0,
"store_amount_settle": 0,
"store_amount_split": 0
},
"curve": {
"08-10": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
},
"08-09": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
},
"08-08": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
},
"08-07": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
},
"08-06": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
},
"08-05": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
},
"08-04": {
"cashier_price": "407.10",
"cashier_amount": "407.10",
"store_price": "700.00",
"store_amount": "0.00"
}
},
"store": {
"store_name": "cc",
"member_avatar": "https://wx.qlogo.cn/mmopen/yFAViaTLylmsKMH5jQdDIEOVRTJCMNRzATFskRbCYdcibibdbzvyDCk5YhcwfNm0ic5JEZRHsEymy3ACP6fSB3QoZtgDMe3uOaMt/132",
"member_id": 37,
"member_nickname": "芸众售后支持namely",
"member_realname": "",
"boss_avatar": null,
"boss_id": null,
"boss_nickname": null,
"boss_realname": null,
"category_name": "分类一",
"address": "广东省-广州市-白云区-新市街道11"
},
"statistics": {
"cashier": {
"init_price": "407.10",
"real_price": "407.10",
"amount": "407.00",
"amount_settle": "404.00",
"amount_split": 0,
"amount_unsettle": "3.00",
"point_deduction": 0,
"love_deduction": 0,
"coupon_deduction": 0,
"member_reward_point": 0,
"member_reward_love": 0,
"member_reward_coupon": 0,
"store_reward_point": "40.70",
"store_reward_love": 0
},
"store": {
"init_price": "700.00",
"real_price": "700.00",
"amount": "0.00",
"amount_settle": 0,
"amount_split": 0,
"amount_unsettle": 0,
"point_deduction": 0,
"love_deduction": 0,
"coupon_deduction": 0,
"member_reward_point": 0,
"member_reward_love": 0,
"member_reward_coupon": 0,
"store_reward_point": 0,
"store_reward_love": 0
}
}
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 |
类型 |
说明 |
order_data |
array |
订单统计数据 |
cashier_price |
int |
收银台累计实际支付金额 |
store_price |
int |
门店商品累计实际支付金额 |
cashier_pay_price |
int |
收银台累计已支付订单初始金额 |
cashier_pay_count |
int |
收银台累计已支付总笔数 |
store_pay_price |
int |
门店商品累计已支付订单初始金额 |
store_pay_count |
int |
门店商品累计已支付订单总笔数 |
cashier_amount |
int |
收银台累计提成金额 |
cashier_amount_settle |
int |
收银台累计提成金额已结算 |
cashier_amount_split |
int |
收银台累计提成金额已分账 |
store_amount |
int |
门店商品累计提成金额 |
store_amount_settle |
int |
门店商品累计提成金额已结算 |
store_amount_split |
int |
门店商品累计提成金额已分账 |
参数名 |
类型 |
说明 |
curve |
array |
曲线图 |
cashier_price |
int |
收银台实际支付金额 |
cashier_amount |
int |
收银台累计提成金额 |
store_price |
int |
门店商品实际支付金额 |
store_amount |
int |
门店商品累计提成金额 |
参数名 |
类型 |
说明 |
store |
array |
门店信息 |
store_name |
string |
门店名称 |
member_id |
string |
门店店长会员id |
member_realname |
string |
门店店长姓名 |
member_avatar |
string |
门店店长头像 |
member_nickanme |
string |
门店店长昵称 |
boss_id |
string |
门店老板会员id |
boss_realname |
string |
门店老板姓名 |
boss_avatar |
string |
门店老板头像 |
boss_nickanme |
string |
门店老板昵称 |
category_name |
string |
门店分类 |
address |
string |
门店地址 |
参数名 |
类型 |
说明 |
statistics |
array |
统计数据 |
cashier |
array |
收银台数据 |
store |
array |
门店数据 |
init_price |
int |
订单初始价格总额 |
real_price |
int |
订单实际支付总额 |
amount |
int |
累计提成金额 |
amount_settle |
int |
已结算金额 |
amount_split |
int |
已分账金额 |
amount_unsettle |
int |
未结算金额 |
point_deduction |
int |
积分抵扣总额 |
love_deduction |
int |
爱心值抵扣总额 |
coupon_deduction |
int |
优惠券抵扣金额 |
member_reward_point |
int |
会员奖励积分数量 |
member_reward_love |
int |
会员奖励爱心值数量 |
member_reward_coupon |
int |
会员奖励优惠券数量 |
store_reward_point |
int |
商家积分奖励数量 |
store_reward_love |
int |
商家爱心值奖励数量 |
备注: