简要描述:
请求域名:
请求URL:
GET/plugin.store-cashier.admin.store-default.store-set
参数:
参数名 |
是否必须 |
类型 |
说明 |
id |
是 |
int |
门店id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"tab": [
{
"value": "basic",
"name": "基础设置",
"show": 1
},
{
"value": "settle",
"name": "商品经营结算规则",
"show": 1
},
{
"value": "market",
"name": "商品经营营销设置",
"show": 1
},
{
"value": "profit",
"name": "商品经营分润设置",
"show": 1
},
{
"value": "return",
"name": "商品经营返现设置",
"show": 1
},
{
"value": "red-packet",
"name": "商品经营每日红包设置",
"show": 1
},
],
"basic": {
"delivery_information": "0"
},
"settle": {
"shop_commission": "20",
"settlement_day": 0,
"wechatPay": "1",
"alipay": "1",
"balance": "1",
"cashPay": "1",
"AlipayJsapi": 0,
"WechatJsapi": 0,
},
"market": {
"point": {
"money_max": "20",
"give_point": 0,
"shop_award_point": 0,
"shop_award_point1": 0,
"shop_award_point2": 0
},
"love": {
"love_show": 1,
"love_name": "爱心值",
"deduction_proportion": "20",
"award_proportion": "20",
"award_shop": "18",
"award_shop1": 0,
"award_shop2": 0
}
},
"profit": {
"commission": {
"is_show": 1,
"level": [
{
"id": 0,
"name": "默认等级",
"first_level_rate": 0,
"second_level_rate": 0
},
{
"level_id": 3,
"level_name": "皇冠",
"first_level_rate": null,
"second_level_rate": null
},
{
"level_id": 4,
"level_name": "分销等级二",
"first_level_rate": null,
"second_level_rate": null
}
]
},
"team-dividend": {
"is_show": 1,
"has_dividend_rate": 0
},
"area-dividend": {
"is_show": 1,
"has_dividend_rate": 0
},
"merchant": {
"is_show": 1,
"staff_bonus": 0,
"staff": [
{
"level_id": 1,
"level_name": "初级",
"level_rate": 0
},
{
"level_id": 2,
"level_name": "中级",
"level_rate": 0
},
{
"level_id": 3,
"level_name": "高级",
"level_rate": 0
}
],
"center": [
{
"level_id": 1,
"level_name": "区级招商",
"level_rate": 0
},
{
"level_id": 2,
"level_name": "市招商员",
"level_rate": 0
},
{
"level_id": 3,
"level_name": "省招商",
"level_rate": 0
},
{
"level_id": 4,
"level_name": "最大级",
"level_rate": 0
},
{
"level_id": 5,
"level_name": "测试分销商身份",
"level_rate": 0
},
{
"level_id": 6,
"level_name": "23313",
"level_rate": 0
}
]
}
},
"return": {
"return_rate": 0,
"full-return_open": 0,
"full-consume_show": 0
},
"red-packet": {
"is_store": 0,
"store_proportion": 0,
"store_scale": 0
},
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 |
类型 |
说明 |
tab |
array |
导航数组 |
show |
int |
1显示,0不显示 |
name |
int |
导航名称 |
value |
int |
导航值 |
参数名 |
类型 |
说明 |
basic |
array |
基础设置数组 |
delivery_information |
int |
提货信息 1开启,0关闭 |
参数名 |
类型 |
说明 |
settle |
array |
收银台结算规则设置数组 |
shop_commission |
int |
平台提成比例 |
settlement_day |
int |
结算期 |
wechatPay |
int |
微信支付 1开启,0关闭 |
alipay |
int |
支付宝支付 1开启,0关闭 |
AlipayJsapi |
int |
支付宝支付(服务商) 1开启,0关闭 |
WechatJsapi |
int |
微信支付(服务商) 1开启,0关闭 |
balance |
int |
余额支付 1开启,0关闭 |
cashPay |
int |
现金支付 1开启,0关闭 |
参数名 |
类型 |
说明 |
market |
array |
商品经营营销设置数组 |
|
point |
array |
积分设置数组 |
money_max |
int |
积分最高抵扣 |
give_point |
int |
会员奖励积分 |
shop_award_point |
int |
奖励商家积分 |
shop_award_point1 |
int |
一级商家奖励积分 |
shop_award_point2 |
int |
二级商家奖励积分 |
|love |array |爱心值设置数组|
|love_show |int |爱心值显示,1显示,0不显示|
|love_name |int |爱心值显示名称|
|deduction_proportion |int |爱心值最高抵扣|
|award_proportion |int |会员奖励爱心值|
|award_shop |int |商家奖励爱心值|
|award_shop1 |int |一级商家奖励爱心值|
|award_shop2 |int |二级商家奖励爱心值|
参数名 |
类型 |
说明 |
profit |
array |
收银台分润设置 |
commission |
array |
分销数组 |
is_show |
int |
是否显示分销设置,1显示,0不显示 |
level |
array |
分销等级数组 |
id |
int |
分销等级id |
name |
int |
分销等级名称 |
first_level_rate |
int |
一级分销比例 |
second_level_rate |
int |
二级分销比例 |
team-dividend |
array |
经销商数组 |
is_show |
int |
是否显示经销商设置,1显示,0不显示 |
has_dividend_rate |
int |
经销商提成 |
area-dividend |
array |
区域分红数组 |
is_show |
int |
是否显示区域分红设置,1显示,0不显示 |
has_dividend_rate |
int |
区域分红提成 |
merchant |
array |
招商数组 |
is_show |
int |
是否显示招商设置,1显示,0不显示 |
staff_bonus |
int |
招商员独立分红 |
staff |
array |
招商员等级独立分红数组 |
level_id |
int |
等级id |
level_name |
int |
等级名称 |
level_rate |
int |
等级比例 |
center |
array |
招商中心等级独立分红数组 |
level_id |
int |
等级id |
level_name |
int |
等级名称 |
level_rate |
int |
等级比例 |
参数名 |
类型 |
说明 |
return |
array |
商品经营返现设置数组 |
return_show |
int |
订单返现显示,1显示,0不显示 |
full-return_show |
int |
订单满额返现显示,1显示,0不显示 |
full-consume_show |
int |
订单消费返现显示,1显示,0不显示 |
return_rate |
int |
订单返现 |
full-return_open |
int |
订单满额返现 1开启,0关闭 |
full-consume_open |
int |
订单消费返现 1开启,0关闭 |
参数名 |
类型 |
说明 |
red-packet |
array |
收银台每日红包设置数组 |
is_store |
int |
每日红包独立计算规 |
store_proportion |
int |
红包总额比例 |
store_scale |
int |
消费获得红包额度百分比 |
备注: