简要描述:
请求域名:
请求URL:
GET/plugin.store-cashier.admin.store-manage.cashier-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": "asset",
"name": "收银台数字资产设置",
"show": 1
},
{
"value": "red-packet",
"name": "收银台每日红包设置",
"show": 1
},
{
"value": "share-chain",
"name": "收银台共享链设置",
"show": 1
},
{
"value": "diy-queue",
"name": "收银台队列设置",
"show": 1
},
{
"value": "merchant-point",
"name": "收银台招商赠送积分设置",
"show": 1
}
],
"basic": {
"is_open": 1,
"is_write_information": 1,
"face_pay": 0
},
"settle": {
"shop_commission": "10.00000",
"settlement_day": 0,
"no_profit_sharing_show": 0,
"no_profit_sharing": 0,
"no_authorized_royalty_show": 0,
"no_authorized_royalty": 0,
"wechatPay": "1",
"alipay": "1",
"AlipayJsapi": 0,
"WechatJsapi": 0,
"balance": "1",
"yopPay_show": 0,
"yopPay": 0,
"is_cash_pay": 1
},
"market": {
"point": {
"max_point_deduct_type": 1,
"max_point_deduct": "10",
"min_point_deduct": "0",
"reward_point": 0,
"shop_award_point": "10.00",
"shop_award_point1": "0.00",
"shop_award_point2": "0.00"
},
"love": {
"love_show": 1,
"love_name": "爱心值",
"deduction": 1,
"deduction_proportion_type": 2,
"deduction_proportion": "11.00",
"deduction_proportion_low": 0,
"award": 0,
"award_proportion": "11.00",
"parent_award": 0,
"parent_award_proportion": "0.00",
"second_award_proportion": "0.00",
"award_shop": "12",
"award_shop1": "32",
"award_shop2": "2"
},
"balance": {
"pay_reward": 0
},
"member": [
{
"level_id": 2,
"level_name": "铁牌会员",
"level_discount": "8.00"
},
{
"level_id": 4,
"level_name": "等级二",
"level_discount": "9.00"
},
{
"level_id": 5,
"level_name": "等级三",
"level_discount": "9.00"
},
{
"level_id": 6,
"level_name": "等级四",
"level_discount": "9.00"
}
],
"coupon": [
{
"id": "1",
"name": "满100减10元"
},
{
"id": "6",
"name": "测试2"
}
],
"other": {
"day_buy_limit": 0,
"every_min_money": "0.00"
}
},
"profit": {
"commission": {
"is_show": 1,
"is_commission": 1,
"level": [
{
"level_id": 0,
"level_name": "默认等级",
"first_level_rate": "20",
"second_level_rate": "3"
},
{
"level_id": 3,
"level_name": "皇冠",
"first_level_rate": "5",
"second_level_rate": "40"
},
{
"level_id": 4,
"level_name": "分销等级二",
"first_level_rate": "6",
"second_level_rate": "7"
}
]
},
"team-dividend": {
"is_show": 1,
"is_dividend": 1,
"has_dividend_rate": "10.00"
},
"area-dividend": {
"is_show": 1,
"is_dividend": 1,
"has_dividend_rate": "10.00"
},
"shareholder-dividend": {
"is_show": 0
},
"merchant": {
"is_show": 1,
"is_open_bonus_staff": 0,
"staff_bonus": "10.00",
"staff": [
{
"level_id": 1,
"level_name": "初级",
"level_rate": "1"
},
{
"level_id": 2,
"level_name": "中级",
"level_rate": "2"
},
{
"level_id": 3,
"level_name": "高级",
"level_rate": "3"
}
],
"is_open_bonus_center": 1,
"center": [
{
"level_id": 1,
"level_name": "区级招商",
"level_rate": "4"
},
{
"level_id": 2,
"level_name": "市招商员",
"level_rate": "5"
},
{
"level_id": 3,
"level_name": "省招商",
"level_rate": "6"
},
{
"level_id": 4,
"level_name": "最大级",
"level_rate": "7"
},
{
"level_id": 5,
"level_name": "测试分销商身份",
"level_rate": "8"
},
{
"level_id": 6,
"level_name": "23313",
"level_rate": "9"
}
]
}
},
"return": {
"return_show": "10",
"full-consume_show": "10",
"full-return_show": "10",
"return_rate": "10",
"full-return_open": 0,
"full-consume_open": 0
},
"asset": {
"asset_list": [
{
"id": 1,
"name": "资产1"
},
{
"id": 2,
"name": "资产2"
}
],
"asset_check_id": 0,
"consumption_rate": 0
},
"red-packet": {
"is_cashier": 1,
"cashier_proportion": "3",
"cashier_scale": "4"
},
"share-chain": {
"is_open": 1,
"award_ratio": "1",
"award_rights": "2",
"lucky_draw_type": 1,
"fixed_award_ratio": "3",
"section_award_ratio_start": "4.00",
"section_award_ratio_end": "5.00",
"award_ladder": [
{
"days": 1,
"money": 2,
"ratio": 3
},
{
"days": 3,
"money": 42,
"ratio": 2
}
],
"member_levels": [
{
"id": 2,
"level_name": "铁牌会员",
"ratio": 1
},
{
"id": 4,
"level_name": "等级二",
"ratio": 2
},
{
"id": 5,
"level_name": "等级三",
"ratio": 3
},
{
"id": 6,
"level_name": "等级四",
"ratio": 4
}
],
"start_time": "00:30",
"end_time": "00:45",
"everyone_everyday_award_num": 1,
"everyone_award_total": 2,
"random_return_is_open": 1,
"diy_total": 5,
"cash_total": 2,
"point_total": 3
},
"diy-queue": {
"queue_name": "自定义队列",
"is_open": 0,
"is_independent": 0,
"extract_ratio": "",
"time": {
"switch": 0,
"sort": "",
"time_out_ratio": "",
"many": [
{
"hours_start": "",
"hours_end": "",
"limit": {
"people_num": {
"switch": 0,
"people_num": ""
},
"buy_num": {
"switch": 0,
"buy_num": ""
},
"buy_money": {
"switch": 0,
"buy_money": ""
}
}
}
]
},
"limit": {
"people_num": {
"switch": 0,
"people_num": ""
},
"buy_num": {
"switch": 0,
"buy_num": ""
},
"buy_money": {
"switch": 0,
"buy_money": ""
}
},
"member_level": {
"switch": null,
"sort": null,
"level": [
{
"id":1,
"name":"等级1",
"switch": 0,
"level": ''
},
{
"id":2,
"name":"等级2",
"switch": 0,
"level": ''
},
{
"id":3,
"name":"等级3",
"switch": 0,
"level": ''
}
]
}
},
"merchant-point": {
"calculate_type": 1,
"award_method": 1,
"staff_levels": [
{
"id": 0,
"level_name": "基础等级",
"rate": "1"
},
{
"id": 2,
"level_name": "等级1",
"rate": "2"
},
{
"id": 3,
"level_name": "等级2",
"rate": "3"
}
],
"center_levels": [
{
"id": 2,
"level_name": "等级1",
"rate": "4"
},
{
"id": 3,
"level_name": "等级2",
"rate": "5"
}
]
}
}
}
错误时返回:
{
"result": 0,
"msg": "",
"data": []
}
返回参数说明:
参数名 |
类型 |
说明 |
tab |
array |
导航数组 |
show |
int |
1显示,0不显示 |
name |
int |
导航名称 |
value |
int |
导航值 |
参数名 |
类型 |
说明 |
basic |
array |
基础设置数组 |
is_open |
int |
是否开启收银台 1是,0不是 |
is_write_information |
int |
用户付款是否需要填写信息 1是,0不是 |
face_pay |
int |
人脸支付 1是,0不是 |
参数名 |
类型 |
说明 |
settle |
array |
收银台结算规则设置数组 |
shop_commission |
int |
平台提成比例 |
settlement_day |
int |
结算期 |
no_profit_sharing_show |
int |
微信分账独立设置(是否关闭分账),1显示,0隐藏 |
no_profit_sharing |
int |
微信分账独立设置(是否关闭分账) 1关闭,0开启 |
no_authorized_royalty_show |
int |
支付宝分账独立设置(是否关闭分账),1显示,0隐藏 |
no_authorized_royalty |
int |
支付宝分账独立设置(是否关闭分账) 1关闭,0开启 |
wechatPay |
int |
微信支付 1开启,0关闭 |
alipay |
int |
支付宝支付 1开启,0关闭 |
AlipayJsapi |
int |
支付宝支付(服务商) 1开启,0关闭 |
WechatJsapi |
int |
微信支付(服务商) 1开启,0关闭 |
balance |
int |
余额支付 1开启,0关闭 |
is_cash_pay |
int |
现金支付 1开启,0关闭 |
yopPay_show |
int |
易宝支付显示 1显示,0隐藏 |
yopPay |
int |
易宝支付 0开启,1关闭 |
convergePay_show |
int |
汇聚支付显示 1显示,0隐藏 |
convergePayWechat |
int |
汇聚微信支付 0开启,1关闭 |
convergePayAlipay |
int |
汇聚支付宝支付 0开启,1关闭 |
convergeQuickPay |
int |
汇聚快捷支付 0开启,1关闭 |
参数名 |
类型 |
说明 |
market |
array |
收银台营销设置数组 |
|
point |
array |
积分设置数组 |
max_point_deduct_type |
int |
积分抵扣1百分比,2固定金额 |
max_point_deduct |
int |
积分最高抵扣 |
min_point_deduct |
int |
积分最少抵扣 |
reward_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 |
int |
爱心值抵扣,1开启,0关闭 |
deduction_proportion_type |
int |
爱心值抵扣1百分比,2固定金额 |
deduction_proportion |
int |
爱心值最高抵扣 |
deduction_proportion_low |
int |
爱心值最低抵扣 |
award |
int |
是否开启爱心值奖励,1开启 0关闭 |
award_proportion |
int |
会员奖励爱心值 |
parent_award |
int |
是否开启上级爱心值奖励,1开启 0关闭 |
parent_award_proportion |
int |
一级会员奖励爱心值 |
second_award_proportion |
int |
二级会员奖励爱心值 |
award_shop |
int |
商家奖励爱心值 |
award_shop1 |
int |
一级商家奖励爱心值 |
award_shop2 |
int |
二级商家奖励爱心值 |
balance |
array |
余额设置数组 |
pay_reward |
int |
赠送余额 |
member |
array |
会员折扣数组 |
level_id |
int |
会员等级id |
level_name |
int |
会员等级名称 |
level_discount |
int |
会员等级折扣 |
coupon |
array |
优惠券设置数组 |
id |
int |
优惠券id |
name |
int |
优惠券名称 |
other |
array |
其他设置 |
day_buy_limit |
int |
会员每天最多下单多少次 |
every_min_money |
int |
每次最低消费多少金额 |
参数名 |
类型 |
说明 |
profit |
array |
收银台分润设置 |
commission |
array |
分销数组 |
is_show |
int |
是否显示分销设置,1显示,0不显示 |
is_commission |
int |
是否开启分销 1开启 0关闭 |
level |
array |
分销等级数组 |
level_id |
int |
分销等级id |
level_name |
int |
分销等级名称 |
first_level_rate |
int |
一级分销比例 |
second_level_rate |
int |
二级分销比例 |
team-dividend |
array |
经销商数组 |
is_show |
int |
是否显示经销商设置,1显示,0不显示 |
is_dividend |
int |
是否开启经销商 1开启 0关闭 |
has_dividend_rate |
int |
经销商提成 |
area-dividend |
array |
区域分红数组 |
is_show |
int |
是否显示区域分红设置,1显示,0不显示 |
is_dividend |
int |
是否开启区域分红 1开启 0关闭 |
has_dividend_rate |
int |
区域分红提成 |
shareholder-dividend |
array |
股东分红数组 |
is_show |
int |
是否显示股东分红设置,1显示,0不显示 |
is_no_count |
int |
是否计入股东分红,1是,0否 |
merchant |
array |
招商数组 |
is_show |
int |
是否显示招商设置,1显示,0不显示 |
is_open_bonus_staff |
int |
是否开启招商员分红 1开启 0关闭 |
is_open_bonus_center |
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关闭 |
参数名 |
类型 |
说明 |
asset |
array |
收银台数字资产设置数组 |
asset_check_id |
int |
已选择资产id |
consumption_rate |
int |
收银台数字资产分红比例 |
asset_list |
array |
资产列表数组 |
id |
int |
资产id |
name |
int |
资产名称 |
参数名 |
类型 |
说明 |
red-packet |
array |
收银台每日红包设置数组 |
is_cashier |
int |
每日红包独立计算规 |
cashier_proportion |
int |
红包总额比例 |
cashier_scale |
int |
消费获得红包额度百分比 |
参数名 |
类型 |
说明 |
share-chain |
array |
收银台共享链设置数组 |
is_open |
int |
共享链开关,1开启0关闭 |
award_ratio |
int |
提取比例 |
award_rights |
int |
默认奖励权益 |
lucky_draw_type |
int |
抽奖-奖励权益,0固定,1区间 |
fixed_award_ratio |
int |
固定比例 |
section_award_ratio_start |
int |
区间比例--开始 |
section_award_ratio_end |
int |
区间比例--终止 |
award_ladder |
array |
奖励规则数组 |
days |
int |
天数 |
money |
int |
累计金额满 |
ratio |
int |
奖励权益 |
member_levels |
array |
会员等级奖励数组 |
id |
int |
会员等级id |
level_name |
int |
会员等级名称 |
ratio |
int |
奖励权益比例 |
start_time |
int |
奖励时间段限制起始 |
end_time |
int |
奖励时间段限制终止 |
everyone_everyday_award_num |
int |
奖励限制--每人每天奖励限制 |
everyone_award_total |
int |
奖励限制--每人总奖励限制 |
random_return_is_open |
int |
开启随机返,1开启,0关闭 |
diy_total |
int |
每组人数 |
cash_total |
int |
每组返现金人数 |
point_total |
int |
每组返积分人数 |
参数名 |
类型 |
说明 |
diy-queue |
array |
收银台队列设置数组 |
queue_name |
int |
队列名称 |
is_open |
int |
开关,1开启0关闭 |
is_independent |
int |
独立规则,1开启0关闭 |
extract_ratio |
int |
提取比例 |
time |
array |
时间段-奖励权益数组 |
switch |
int |
开关,1开启,0关闭 |
sort |
int |
排序 |
time_out_ratio |
int |
时间段外 |
many |
array |
时间段数组 |
hours_start |
string |
起始时间 |
hours_end |
string |
终止时间 |
time_in_ratio |
string |
时间段内 |
limit[people_num][switch] |
string |
消费前N人开关 |
limit[people_num][people_num] |
string |
消费前N人 |
limit[buy_num][switch] |
string |
会员只能获得N次开关 |
limit[buy_num][buy_num] |
string |
会员只能获得N次 |
limit[buy_money][switch] |
string |
消费金额超过N元开关 |
limit[buy_money][buy_money] |
string |
消费金额超过N元 |
limit |
array |
限制条件 |
people_num[switch] |
string |
消费前N人开关 |
people_num[people_num] |
string |
消费前N人 |
buy_num[switch] |
string |
会员只能获得N次开关 |
buy_num[buy_num] |
string |
会员只能获得N次 |
buy_money[switch] |
string |
消费金额超过N元开关 |
buy_money[buy_money] |
string |
消费金额超过N元 |
member_level |
array |
会员等级-奖励权益 |
switch |
int |
开关 1开启,0关闭 |
sort |
int |
排序 |
level[id] |
int |
等级id |
level[name] |
int |
等级名称 |
level[switch] |
int |
开关 |
level[level] |
int |
比例 |
参数名 |
类型 |
说明 |
merchant-point |
array |
收银台招商积分设置数组 |
calculate_type |
int |
订单计算方式 0实付金额,1利润 |
award_method |
int |
计算方式,0赠送比例,1固定积分 |
staff_levels[id] |
int |
招商员等级id |
staff_levels[level_name] |
int |
招商员等级名称 |
staff_levels[rate] |
int |
招商员等级比例 |
center_levels[id] |
int |
招商中心等级id |
center_levels[level_name] |
int |
招商中心等级名称 |
center_levels[rate] |
int |
招商中心等级比例 |
备注: