简要描述:

请求域名:

  • http://xx.com

请求URL:

GET/plugin.store-cashier.admin.store-manage.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": "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": {
            "delivery_information": "0",
            "specify_show" : "1",
        },
        "settle": {
            "shop_commission": "20",
            "settlement_day": 0,
            "wechatPay": "1",
            "alipay": "1",
            "balance": "1",
            "cashPay": "1",
            "Jsapi_show": 0,
            "AlipayJsapi": 0,
            "WechatJsapi": 0,
            "yopPay_show": 0,
            "yopPay": 0
        },
        "market": {
            "point": {
                "money_max": "20",
                "give_point": 0,
                "is_swith": 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",
                "is_swith": 0,
                "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
            },
            "shareholder-dividend": {
                "is_show": 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
        },
        "asset": {
            "asset_list": [
                {
                    "id": 1,
                    "name": "资产1"
                },
                {
                    "id": 2,
                    "name": "资产2"
                }
            ],
            "asset_check_id": 0,
            "consumption_rate": 0
        },
        "red-packet": {
            "is_store": 0,
            "store_proportion": 0,
            "store_scale": 0
        },
        "share-chain": {
            "is_open": 1,
            "award_ratio": "1.00",
            "award_rights": "2.00",
            "lucky_draw_type": 0,
            "fixed_award_ratio": "1",
            "section_award_ratio_start": "2.00",
            "section_award_ratio_end": "3.00",
            "award_ladder": [
                {
                    "days": 1,
                    "money": 2,
                    "ratio": 3
                },
                {
                    "days": 2,
                    "money": 3,
                    "ratio": 4
                }
            ],
            "member_levels": [
                {
                    "id": 2,
                    "level_name": "铁牌会员",
                    "ratio": 1
                },
                {
                    "id": 4,
                    "level_name": "等级二",
                    "ratio": 2
                },
                {
                    "id": 5,
                    "level_name": "等级三",
                    "ratio": 4
                },
                {
                    "id": 6,
                    "level_name": "等级四",
                    "ratio": 5
                }
            ],
            "start_time": "00:30",
            "end_time": "00:45",
            "everyone_everyday_award_num": 1,
            "everyone_award_total": 2,
            "random_return_is_open": 1,
            "diy_total": 4,
            "cash_total": 2,
            "point_total": 2
        },
        "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 基础设置数组
delivery_information int 提货信息 1开启,0关闭
specify_show int 0门店首页,1门店商品页
参数名 类型 说明
settle array 收银台结算规则设置数组
shop_commission int 平台提成比例
settlement_day int 结算期
wechatPay int 微信支付 1开启,0关闭
alipay int 支付宝支付 1开启,0关闭
Jsapi_show int 服务商支付显示,1显示,0不显示
AlipayJsapi int 支付宝支付(服务商) 1开启,0关闭
WechatJsapi int 微信支付(服务商) 1开启,0关闭
balance int 余额支付 1开启,0关闭
cashPay 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 积分设置数组
money_max int 积分最高抵扣
give_point int 会员奖励积分
is_swith int 独立计算规则1开启,0关闭
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 |会员奖励爱心值| |is_swith|int|独立计算规则1开启,0关闭| |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 区域分红提成
shareholder-dividend array 股东分红数组
is_show int 是否显示股东分红设置,1显示,0不显示
is_no_count int 是否计入股东分红,1是,0否
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关闭
参数名 类型 说明
asset array 收银台数字资产设置数组
asset_check_id int 已选择资产id
consumption_rate int 收银台数字资产分红比例
asset_list array 资产列表数组
id int 资产id
name int 资产名称
参数名 类型 说明
red-packet array 收银台每日红包设置数组
is_store int 每日红包独立计算规
store_proportion int 红包总额比例
store_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 招商中心等级比例

备注:

  • 更多返回错误代码请看首页的错误代码描述