Download OpenAPI specification:Download
员工端api协议, 分页协议参考https://docs.gitlab.com/ee/api/#pagination-link-header。 如无特殊说明,金钱的单位为分,1元=100;时间为unix时间戳;id为整数型。
activity_id required | integer (Id) id |
url required | string 需要使用配置的网页地址 |
{- "app_id": "string",
- "timestamp": 0,
- "nonce_str": "string",
- "signature": "string"
}
{- "id": 0,
- "hash": "string",
- "name": "string",
- "avatar_url": "string",
- "is_snapshotuser": false,
- "site_config": {
- "mini_program_username": "gh_03021a0bb805",
- "enable_staff_js_reporter": true
}, - "participated_activities": [
- {
- "id": 0,
- "title": "string"
}
]
}
{- "id": 0,
- "hash": "string",
- "title": "string",
- "cover_url": "string",
- "location": "string",
- "start_time": 0,
- "end_time": 0,
- "status": "started",
- "live_time": 0,
- "live_days": 0,
- "activity_post_url": [
], - "avatar_background_url": "string",
- "live_post_url": [
], - "staff_invitation_post_url": "string",
- "wechat_sharing_title": "string",
- "wechat_sharing_description": "string",
- "enable_teams": true,
- "reward_info": {
- "views": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "fissions": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "user_fissions": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "coupons": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "collects": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "seckills": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "blind_boxes": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "offline_orders": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "offline_contributed_orders": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "offline_owed_orders": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "live_reservations": {
- "money": 0,
- "points": 0,
- "description": "string"
}, - "house_records": {
- "money": 0,
- "points": 0,
- "description": "string"
}
}, - "enable_data_export": true,
- "enable_manual_order": true,
- "enable_received_amount": true,
- "enable_visiting_shops": true,
- "enable_hidden_live_top": false,
- "enable_hidden_point_top": true,
- "enable_hidden_offline_order": true,
- "enable_prestore_card": true,
- "enable_coupon": true,
- "enable_house_records": true,
- "enable_staff_invitation_for_staff": true,
- "enable_staff_invitation_for_merchant_admin": true,
- "enable_write_off_before_activity_ended": true,
- "show_poster_logo": true,
- "show_merchant_manual_order": true,
- "enable_blind_box": true,
- "manual_order_settlement_time": 0,
- "disable_staff_login": false,
- "total_merchant_number": 0,
- "current_user": {
- "staff_id": 0,
- "merchant_id": 0,
- "store_id": 0,
- "name": "string",
- "phone": "string",
- "role": "activity_admin",
- "disabled": false,
- "status": {
- "passed": true,
- "inited": true
}
}
}
{- "merchant": 0,
- "staff": 0,
- "merchant_balance": 0,
- "staff_balance": 0,
- "budget": 0,
- "budget_balance": 0,
- "live_red_package": 0,
- "live_red_package_balance": 0,
- "system_deduction": 0,
- "handling_fee": 10
}
activity_id required | integer (Id) 活动ID |
merchant_id | integer (Id) id |
store_id | integer (Id) id |
name required | string 当前用户在此活动中的名称 |
phone required | string 当前用户在此活动中的手机号 |
role | string Enum: "activity_admin" "merchant_admin" "merchant_staff" 当前用户在此活动中的角色 |
{- "merchant_id": 0,
- "store_id": 0,
- "name": "string",
- "phone": "string",
- "role": "activity_admin"
}
activity_id required | integer (Id) 活动ID |
from_date | string 开始日期(YYYY-MM-DD) |
to_date | string 结束日期(YYYY-MM-DD) |
type required | string Enum: "all" "signups" "live_orders" "collects_orders" "seckill_orders" "coupons" "medals" "employee_performance" "prizes" "prestore_card" "blind_boxs" "visiting_shops" "crosstab" "house_records" 导出类型 |
activity_id required | integer (Id) 活动ID |
role required | string Enum: "merchant_admin" "merchant_staff" 角色 |
search | string 搜索参数(目前只需要支持品牌和员工名称) |
storeId | number 门店id |
merchantId | number 品牌id |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "phone": "string",
- "merchant": {
- "id": 0,
- "name": "string"
}, - "store": {
- "id": 0,
- "name": "string"
}, - "status": "waiting",
- "deletable": true
}
]
activity_id required | integer (Id) 活动ID |
merchant_id | integer (Id) 签单品牌 |
status | string Enum: "paid" "unpaid" 订单状态 |
start_time | number 开始时间 |
end_time | number 结束时间 |
keyword | string 搜索关键词(姓名或手机号) |
offset_id | number 分页参数 |
limit | number 分页参数 |
{- "total": 0,
- "self_signs_count": 0,
- "unpaid": 0,
- "list": [
- {
- "id": 0,
- "staff_id": 0,
- "merchant_name": "string",
- "name": "string",
- "phone": "string",
- "address": "string",
- "amount": 0,
- "received_amount": 0,
- "type": "self_signs",
- "is_bought_coupons": true,
- "is_bought_blind_box": true,
- "from_merchant_id": 0,
- "description": "string",
- "attachments": [
- "string"
], - "editable": true,
- "status": "unpaid",
- "created_at": 0,
- "from_merchant_name": "string",
- "from_store_name": "string",
- "from_staff_name": "string",
- "handling_fee": 5,
- "payment_time": 0,
- "recorderInfo": {
- "from_merchant_name": "string",
- "from_store_name": "string",
- "from_staff_name": "string",
- "phone": "string"
}
}
]
}
activity_id required | integer (Id) 活动ID |
type | string Enum: "mine" "merchant" "relevant" 订单类型 |
status | string Enum: "paid" "unpaid" 订单状态 |
keyword | string 搜索关键词(姓名或手机号) |
offset_id | number 分页参数 |
limit | number 分页参数 |
{- "total": 0,
- "self_signs_count": 0,
- "unpaid": 0,
- "list": [
- {
- "id": 0,
- "staff_id": 0,
- "merchant_name": "string",
- "name": "string",
- "phone": "string",
- "address": "string",
- "amount": 0,
- "received_amount": 0,
- "type": "self_signs",
- "is_bought_coupons": true,
- "is_bought_blind_box": true,
- "from_merchant_id": 0,
- "description": "string",
- "attachments": [
- "string"
], - "editable": true,
- "status": "unpaid",
- "created_at": 0,
- "from_merchant_name": "string",
- "from_store_name": "string",
- "from_staff_name": "string",
- "handling_fee": 5,
- "payment_time": 0,
- "recorderInfo": {
- "from_merchant_name": "string",
- "from_store_name": "string",
- "from_staff_name": "string",
- "phone": "string"
}
}
]
}
activity_id required | integer (Id) 活动ID |
name required | string 客户名称 |
phone required | string 客户电话 |
address required | string 客户地址 |
amount required | number 订单金额 |
type required | string (ManualOrderType) Enum: "self_signs" "from_other_merchant" |
from_merchant_id | integer (Id) id |
from_store_id | integer (Id) id |
from_staff_id | integer (Id) id |
attachment_keys | Array of strings |
received_amount | number 已收金额 |
description | string |
{- "name": "string",
- "phone": "string",
- "address": "string",
- "amount": 0,
- "type": "self_signs",
- "from_merchant_id": 0,
- "from_store_id": 0,
- "from_staff_id": 0,
- "attachment_keys": [
- "string"
], - "received_amount": 0,
- "description": "string"
}
{- "id": 0
}
activity_id required | integer (Id) 活动ID |
order_id required | integer (Id) 活动ID |
{- "id": 0,
- "staff_id": 0,
- "merchant_name": "string",
- "name": "string",
- "phone": "string",
- "address": "string",
- "amount": 0,
- "received_amount": 0,
- "type": "self_signs",
- "is_bought_coupons": true,
- "is_bought_blind_box": true,
- "from_merchant_id": 0,
- "description": "string",
- "attachments": [
- "string"
], - "editable": true,
- "status": "unpaid",
- "created_at": 0,
- "from_merchant_name": "string",
- "from_store_name": "string",
- "from_staff_name": "string",
- "handling_fee": 5,
- "payment_time": 0,
- "recorderInfo": {
- "from_merchant_name": "string",
- "from_store_name": "string",
- "from_staff_name": "string",
- "phone": "string"
}
}
activity_id required | integer (Id) 活动ID |
order_id required | integer (Id) 订单ID |
name required | string 客户名称 |
phone required | string 客户电话 |
address required | string 客户地址 |
amount required | number 订单金额 |
type required | string (ManualOrderType) Enum: "self_signs" "from_other_merchant" |
from_merchant_id | integer (Id) id |
from_store_id | integer (Id) id |
from_staff_id | integer (Id) id |
attachment_keys | Array of strings |
received_amount | number 已收金额 |
description | string |
{- "name": "string",
- "phone": "string",
- "address": "string",
- "amount": 0,
- "type": "self_signs",
- "from_merchant_id": 0,
- "from_store_id": 0,
- "from_staff_id": 0,
- "attachment_keys": [
- "string"
], - "received_amount": 0,
- "description": "string"
}
{- "additional_data": {
- "view": 0,
- "signup": 0,
- "coupon": 0,
- "seckill": 0,
- "forward": 0,
- "collect": 0
}, - "seckill_limit": 0,
- "location_visible": true,
- "recommended_merchants_visible": true,
- "customer_phone_visible": true,
- "enable_hidden_live_top": true,
- "enable_hidden_point_top": true,
- "enable_hidden_offline_order": true,
- "merchant_phone_visible": true,
- "store_info_visible": true,
- "activity_contact_number": "string",
- "manual_order_enabled": true,
- "manual_order_settlement_time": 0,
- "manual_self_order_fee": 0,
- "manual_other_order_fee": 0
}
activity_id required | integer (Id) 活动ID |
required | object 运营附加数据 |
seckill_limit required | number 秒杀支付限制数量 |
location_visible required | boolean 是否显示活动地点 |
recommended_merchants_visible required | boolean 是否显示推荐商户 |
customer_phone_visible required | boolean 是否显示业主完整电话 |
enable_hidden_live_top required | boolean 是否隐藏直播订单排行 |
enable_hidden_point_top required | boolean 是否隐藏积分排行 |
enable_hidden_offline_order required | boolean 是否隐藏线下订单排行 |
merchant_phone_visible required | boolean 是否显示商户电话 |
store_info_visible required | boolean 是否显示店铺信息 |
activity_contact_number required | string 活动联系信息(注:可设置一个统一的联系电话,如400电话,比较适用于工厂活动) |
manual_order_enabled required | boolean 是否开启线下订单 |
manual_order_settlement_time required | number 线下订单结算时间(秒) |
manual_self_order_fee required | number 线下自签单订单提单费 |
manual_other_order_fee required | number 线下带单订单提单费 |
{- "additional_data": {
- "view": 0,
- "signup": 0,
- "coupon": 0,
- "seckill": 0,
- "forward": 0,
- "collect": 0
}, - "seckill_limit": 0,
- "location_visible": true,
- "recommended_merchants_visible": true,
- "customer_phone_visible": true,
- "enable_hidden_live_top": true,
- "enable_hidden_point_top": true,
- "enable_hidden_offline_order": true,
- "merchant_phone_visible": true,
- "store_info_visible": true,
- "activity_contact_number": "string",
- "manual_order_enabled": true,
- "manual_order_settlement_time": 0,
- "manual_self_order_fee": 0,
- "manual_other_order_fee": 0
}
activity_id required | integer (Id) 活动ID |
user_recharge required | integer 员工充值奖金池:设置员工注册审核通过后每个人需充值的金额(单位:分) |
merchant_recharge required | integer 品牌充值员工奖金池:每个品牌为员工奖金池赞助的奖金(单位:分) |
merchant_reward required | integer 品牌奖金池:用于品牌的任务设定,督促员工完成任务(单位:分) |
not_finish_deduct required | integer 纪律任务考核金:用于处罚未完成任务的品牌(单位:分) |
budget required | integer 推广费预算:用于发放设置的浏览、裂变奖励(单位:分) |
{- "user_recharge": 0,
- "merchant_recharge": 0,
- "merchant_reward": 0,
- "not_finish_deduct": 0,
- "budget": 0
}
activity_id required | integer (Id) 活动ID |
views required | integer 浏览 |
fissions required | integer 裂变 |
collects required | integer 集赞 |
coupons required | integer 售卡 |
self_signs required | integer 签单 |
contribute_signs required | integer 贡献签单 |
live_nums required | integer 直播间/人 |
blind_boxs required | integer 盲盒 |
seckills required | integer 秒杀 |
signups required | integer 报名 |
{- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "blind_boxs": 0,
- "seckills": 0,
- "signups": 0
}
activity_id required | integer (Id) 活动ID |
name required | string |
start_time required | integer |
end_time required | integer |
merchant_recharge required | integer |
staff_reward required | integer |
{- "name": "string",
- "start_time": 0,
- "end_time": 0,
- "merchant_recharge": 0,
- "staff_reward": 0
}
未开始阶段才可以编辑
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 活动ID |
name required | string |
start_time required | integer |
end_time required | integer |
merchant_recharge required | integer |
staff_reward required | integer |
{- "name": "string",
- "start_time": 0,
- "end_time": 0,
- "merchant_recharge": 0,
- "staff_reward": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
{- "staff": {
- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "live_orders": 0,
- "signups": 0,
- "forwards": 0,
- "prestore_cards": 0,
- "blind_boxs": 0
}, - "merchant_common": {
- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "live_orders": 0,
- "signups": 0,
- "forwards": 0,
- "prestore_cards": 0,
- "blind_boxs": 0
}, - "merchant": [
- {
- "merchant_id": 0,
- "data": {
- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "live_orders": 0,
- "signups": 0,
- "forwards": 0,
- "prestore_cards": 0,
- "blind_boxs": 0
}
}
]
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
views required | integer 浏览 |
fissions required | integer 裂变 |
collects required | integer 集赞 |
coupons required | integer 售卡 |
self_signs required | integer 签单 |
contribute_signs required | integer 贡献签单 |
live_nums required | integer 直播间人数 |
live_orders required | integer 直播间订单数 |
signups required | integer 报名 |
forwards required | integer 转发 |
prestore_cards required | integer 预存卡 |
blind_boxs required | integer 盲盒人数 |
{- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "live_orders": 0,
- "signups": 0,
- "forwards": 0,
- "prestore_cards": 0,
- "blind_boxs": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
merchant_id required | integer (Id) 品牌Id |
views required | integer 浏览 |
fissions required | integer 裂变 |
collects required | integer 集赞 |
coupons required | integer 售卡 |
self_signs required | integer 签单 |
contribute_signs required | integer 贡献签单 |
live_nums required | integer 直播间人数 |
live_orders required | integer 直播间订单数 |
signups required | integer 报名 |
forwards required | integer 转发 |
prestore_cards required | integer 预存卡 |
blind_boxs required | integer 盲盒人数 |
{- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "live_orders": 0,
- "signups": 0,
- "forwards": 0,
- "prestore_cards": 0,
- "blind_boxs": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
views required | integer 浏览 |
fissions required | integer 裂变 |
collects required | integer 集赞 |
coupons required | integer 售卡 |
self_signs required | integer 签单 |
contribute_signs required | integer 贡献签单 |
live_nums required | integer 直播间人数 |
live_orders required | integer 直播间订单数 |
signups required | integer 报名 |
forwards required | integer 转发 |
prestore_cards required | integer 预存卡 |
blind_boxs required | integer 盲盒人数 |
{- "views": 0,
- "fissions": 0,
- "collects": 0,
- "coupons": 0,
- "self_signs": 0,
- "contribute_signs": 0,
- "live_nums": 0,
- "live_orders": 0,
- "signups": 0,
- "forwards": 0,
- "prestore_cards": 0,
- "blind_boxs": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
{- "viewpunishs": 0,
- "fissionpunishs": 0,
- "collectpunishs": 0,
- "couponpunishs": 0,
- "prestorecardpunishs": 0,
- "selfsignpunishs": 0,
- "contributesignpunishs": 0,
- "livenumpunishs": 0,
- "liveorderpunishs": 0,
- "signuppunishs": 0,
- "forwardpunishs": 0,
- "blindboxpunishs": 0,
- "views_punish": 0,
- "fissions_punish": 0,
- "collects_punish": 0,
- "coupons_punish": 0,
- "prestore_cards_punish": 0,
- "self_signs_punish": 0,
- "contribute_signs_punish": 0,
- "live_nums_punish": 0,
- "live_orders_punish": 0,
- "signups_punish": 0,
- "forwards_punish": 0,
- "blind_boxs_punish": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
viewpunishs | integer 浏览数量 |
fissionpunishs | integer 裂变数量 |
collectpunishs | integer 集赞数量 |
couponpunishs | integer 售卡数量 |
prestorecardpunishs | integer 预存卡数量 |
selfsignpunishs | integer 签单数量 |
contributesignpunishs | integer 贡献签单数量 |
livenumpunishs | integer 直播间人数数量 |
liveorderpunishs | integer 直播间订单数数量 |
signuppunishs | integer 报名数量 |
forwardpunishs | integer 转发数量 |
blindboxpunishs | integer 盲盒数量 |
views_punish | integer 浏览惩罚金 |
fissions_punish | integer 裂变惩罚金 |
collects_punish | integer 集赞惩罚金 |
coupons_punish | integer 售卡惩罚金 |
prestore_cards_punish | integer 预存卡惩罚金 |
self_signs_punish | integer 签单惩罚金 |
contribute_signs_punish | integer 贡献签单惩罚金 |
live_nums_punish | integer 直播间人数惩罚金 |
live_orders_punish | integer 直播间订单数惩罚金 |
signups_punish | integer 报名惩罚金 |
forwards_punish | integer 转发惩罚金 |
blind_boxs_punish | integer 盲盒惩罚金 |
{- "viewpunishs": 0,
- "fissionpunishs": 0,
- "collectpunishs": 0,
- "couponpunishs": 0,
- "prestorecardpunishs": 0,
- "selfsignpunishs": 0,
- "contributesignpunishs": 0,
- "livenumpunishs": 0,
- "liveorderpunishs": 0,
- "signuppunishs": 0,
- "forwardpunishs": 0,
- "blindboxpunishs": 0,
- "views_punish": 0,
- "fissions_punish": 0,
- "collects_punish": 0,
- "coupons_punish": 0,
- "prestore_cards_punish": 0,
- "self_signs_punish": 0,
- "contribute_signs_punish": 0,
- "live_nums_punish": 0,
- "live_orders_punish": 0,
- "signups_punish": 0,
- "forwards_punish": 0,
- "blind_boxs_punish": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
merchant_id required | integer (Id) 阶段Id |
{- "viewpunishs": 0,
- "fissionpunishs": 0,
- "collectpunishs": 0,
- "couponpunishs": 0,
- "prestorecardpunishs": 0,
- "selfsignpunishs": 0,
- "contributesignpunishs": 0,
- "livenumpunishs": 0,
- "liveorderpunishs": 0,
- "signuppunishs": 0,
- "forwardpunishs": 0,
- "blindboxpunishs": 0,
- "views_punish": 0,
- "fissions_punish": 0,
- "collects_punish": 0,
- "coupons_punish": 0,
- "prestore_cards_punish": 0,
- "self_signs_punish": 0,
- "contribute_signs_punish": 0,
- "live_nums_punish": 0,
- "live_orders_punish": 0,
- "signups_punish": 0,
- "forwards_punish": 0,
- "blind_boxs_punish": 0
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段Id |
merchant_id required | integer (Id) 阶段Id |
viewpunishs | integer 浏览数量 |
fissionpunishs | integer 裂变数量 |
collectpunishs | integer 集赞数量 |
couponpunishs | integer 售卡数量 |
prestorecardpunishs | integer 预存卡数量 |
selfsignpunishs | integer 签单数量 |
contributesignpunishs | integer 贡献签单数量 |
livenumpunishs | integer 直播间人数数量 |
liveorderpunishs | integer 直播间订单数数量 |
signuppunishs | integer 报名数量 |
forwardpunishs | integer 转发数量 |
blindboxpunishs | integer 盲盒数量 |
views_punish | integer 浏览惩罚金 |
fissions_punish | integer 裂变惩罚金 |
collects_punish | integer 集赞惩罚金 |
coupons_punish | integer 售卡惩罚金 |
prestore_cards_punish | integer 预存卡惩罚金 |
self_signs_punish | integer 签单惩罚金 |
contribute_signs_punish | integer 贡献签单惩罚金 |
live_nums_punish | integer 直播间人数惩罚金 |
live_orders_punish | integer 直播间订单数惩罚金 |
signups_punish | integer 报名惩罚金 |
forwards_punish | integer 转发惩罚金 |
blind_boxs_punish | integer 盲盒惩罚金 |
{- "viewpunishs": 0,
- "fissionpunishs": 0,
- "collectpunishs": 0,
- "couponpunishs": 0,
- "prestorecardpunishs": 0,
- "selfsignpunishs": 0,
- "contributesignpunishs": 0,
- "livenumpunishs": 0,
- "liveorderpunishs": 0,
- "signuppunishs": 0,
- "forwardpunishs": 0,
- "blindboxpunishs": 0,
- "views_punish": 0,
- "fissions_punish": 0,
- "collects_punish": 0,
- "coupons_punish": 0,
- "prestore_cards_punish": 0,
- "self_signs_punish": 0,
- "contribute_signs_punish": 0,
- "live_nums_punish": 0,
- "live_orders_punish": 0,
- "signups_punish": 0,
- "forwards_punish": 0,
- "blind_boxs_punish": 0
}
activity_id required | integer (Id) 活动ID |
kind required | any Enum: "punishment" "reward" 操作类型 |
merchant_id required | integer (Id) id |
points required | integer 奖惩积分数量 |
money | integer 奖惩金额数量(目前奖励无现金,可不处理) |
reason required | string 奖惩原因 |
{- "kind": "punishment",
- "merchant_id": 0,
- "points": 0,
- "money": 0,
- "reason": "string"
}
activity_id required | integer (Id) 活动ID |
keyword required | string 搜索关键词 |
{- "avatar_url": "string",
- "nickname": "string",
- "real_name": "string",
- "phone": "string",
- "first_view": {
- "from_user_name": "string",
- "created_at": 0
}, - "signup_at": 0,
- "data": {
- "owner": {
- "id": 0,
- "nickname": "string"
}, - "view": {
- "rewarder": {
- "id": 0,
- "nickname": "string"
}
}, - "coupon": {
- "rewarder": {
- "id": 0,
- "nickname": "string"
}
}, - "prestore_card": {
- "rewarder": {
- "id": 0,
- "nickname": "string"
}
}, - "blind_box": {
- "rewarder": {
- "id": 0,
- "nickname": "string"
}
}, - "collect": {
- "actual": 0,
- "required": 0
}, - "live_medal": {
- "actual": 0,
- "required": 0
}
}, - "write_off_data": {
- "live": true,
- "collect": true,
- "visiting_shops": true
}, - "orders": [
- {
- "id": 0,
- "cover_url": "string",
- "title": "string",
- "name": "string",
- "phone": "string",
- "created_at": 0,
- "amount": 0
}
], - "live_orders": [
- {
- "id": 0,
- "cover_url": "string",
- "title": "string",
- "name": "string",
- "phone": "string",
- "created_at": 0,
- "amount": 0
}
]
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段ID |
ranking_role required | string (RankingRole) Enum: "staff" "merchant" 排行榜角色 |
is_finished | boolean 列出已完成 or 未完成的数据 |
search | string 搜索参数(目前只需支持品牌和员工名称) |
offset | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}, - {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}
]
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段ID |
ranking_role required | string (RankingRole) Enum: "staff" "merchant" 排行榜角色 |
{- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "beans": 0,
- "estimated_amount": 0,
- "is_finished": true,
- "views": {
- "actual": 0,
- "required": 0
}, - "fissions": {
- "actual": 0,
- "required": 0
}, - "collects": {
- "actual": 0,
- "required": 0
}, - "coupons": {
- "actual": 0,
- "required": 0
}, - "prestore_cards": {
- "actual": 0,
- "required": 0
}, - "self_signs": {
- "actual": 0,
- "required": 0
}, - "contribute_signs": {
- "actual": 0,
- "required": 0
}, - "live_nums": {
- "actual": 0,
- "required": 0
}, - "live_orders": {
- "actual": 0,
- "required": 0
}, - "signups": {
- "actual": 0,
- "required": 0
}, - "blind_boxs": {
- "actual": 0,
- "required": 0
}
}
}
activity_id required | integer (Id) 活动ID |
merchant_id required | integer (Id) 商户ID |
city | string 按城市模糊匹配,比如传“上海”,搜索出上海市的所有店 |
offset | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "name": "string",
- "province": "string",
- "city": "string",
- "address": "string"
}
]
activity_id required | integer (Id) 活动ID |
role required | any Enum: "activity_admin" "merchant_admin" 角色 |
type required | any Enum: "merchant" "staff" "budget" "live_red_package" 充值类型 |
money required | integer 充值金额 |
{- "role": "activity_admin",
- "type": "merchant",
- "money": 0
}
{- "timestamp": 0,
- "nonce_str": "string",
- "package": "string",
- "sign_type": "SHA1",
- "pay_sign": "string"
}
activity_id required | integer (Id) 活动ID |
stage_id required | integer (Id) 阶段ID |
{- "self": {
- "reward_bean_rank": 0,
- "reward_bean_count": 0,
- "estimated_income": 0,
- "views": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "fissions": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "collects": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "prestore_cards": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "coupons": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "self_signs": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "contribute_signs": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "live_nums": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "live_orders": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "signups": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "blind_boxs": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}
}, - "merchant": {
- "reward_bean_rank": 0,
- "reward_bean_count": 0,
- "estimated_income": 0,
- "views": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "fissions": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "collects": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "prestore_cards": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "coupons": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "self_signs": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "contribute_signs": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "live_nums": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "live_orders": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "signups": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}, - "blind_boxs": {
- "count": 0,
- "total": 0,
- "percentage": 0,
- "is_finished": true
}
}
}
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "avatar_url": "string",
- "name": "string",
- "data": {
- "owner": {
- "id": 0,
- "nickname": "string"
}, - "rewarder": {
- "id": 0,
- "nickname": "string"
}
}, - "result": "successful",
- "change": 0,
- "reason": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
{- "count": {
- "all": 4,
- "done": 1
}, - "items": [
- {
- "id": 0,
- "user_id": 0,
- "avatar_url": "string",
- "name": "大雄",
- "number": 2,
- "status": "done",
- "parent_name": "string",
- "created_at": 0
}
]
}
activity_id required | integer (Id) 活动ID |
other_customers_from_merchant | boolean (筛选)本品牌除我的客户外的其他客户 |
offset_id | number 分页参数 |
limit | number 分页参数 |
{- "count": {
- "all": 4,
- "done": 1
}, - "items": [
- {
- "id": 0,
- "user_id": 0,
- "order_id": 0,
- "avatar_url": "string",
- "name": "大雄",
- "real_name": "string",
- "product_merchant_name": "string",
- "product_title": "string",
- "phone": "string",
- "current": 2,
- "total": 2,
- "status": "done",
- "created_at": 0
}
]
}
activity_id required | integer (Id) 活动ID |
search | string 客户手机号搜索 |
offset | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "is_online": true,
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
[- {
- "id": 0,
- "user_id": 0,
- "im_id": "string",
- "avatar_url": "string",
- "name": "string",
- "real_name": "string",
- "phone": "string",
- "order_no": "string",
- "product_name": "string",
- "merchant_name": "string",
- "created_at": 0
}
]
activity_id required | integer (Id) 活动ID |
offset_id | number 分页参数 |
limit | number 分页参数 |
{- "participated_number": 0,
- "finished_number": 0,
- "items": [
- {
- "user_id": 0,
- "order_id": 0,
- "avatar_url": "string",
- "name": "string",
- "created_at": 0,
- "finished": true,
- "count": 0
}
]
}
activity_id required | integer (Id) 活动ID |
ranking_role required | string (RankingRole) Enum: "staff" "merchant" 排行榜角色 |
ranking_type required | string (RankingType) Enum: "views" "fissions" "forwards" "signups" "coupons" "self_signs" "contributed_signs" "from_other_merchant_signs" "points" "live_invitations" "live_reservations" "collects" "reward_beans" "signs_total" "money" "seckills" "sales_total" "prestore_card" "visiting_shops" "offline_orders" "offline_contributed_orders" "offline_owed_orders" "ordered_customers" "blind_boxs" 排行榜类型 |
staff_name | string 筛选条件:员工名称 |
merchant_id | integer (Id) 筛选条件:商户 |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
[- {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}, - {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}
]
activity_id required | integer (Id) 活动ID |
ranking_role required | string (RankingRole) Enum: "staff" "merchant" 排行榜角色 |
ranking_type required | string (RankingType) Enum: "views" "fissions" "forwards" "signups" "coupons" "self_signs" "contributed_signs" "from_other_merchant_signs" "points" "live_invitations" "live_reservations" "collects" "reward_beans" "signs_total" "money" "seckills" "sales_total" "prestore_card" "visiting_shops" "offline_orders" "offline_contributed_orders" "offline_owed_orders" "ordered_customers" "blind_boxs" 排行榜类型 |
staff_name | string 筛选条件:员工类型 |
merchant_id | integer (Id) 筛选条件:商户 |
period required | string 周期 |
{- "total": 0
}
activity_id required | integer (Id) 活动ID |
ranking_role required | string (RankingRole) Enum: "staff" "merchant" 排行榜角色 |
ranking_type required | string (RankingType) Enum: "views" "fissions" "forwards" "signups" "coupons" "self_signs" "contributed_signs" "from_other_merchant_signs" "points" "live_invitations" "live_reservations" "collects" "reward_beans" "signs_total" "money" "seckills" "sales_total" "prestore_card" "visiting_shops" "offline_orders" "offline_contributed_orders" "offline_owed_orders" "ordered_customers" "blind_boxs" 排行榜类型 |
period required | string 周期 |
{- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}
activity_id required | integer (Id) 活动Id |
merchant_id required | integer (Id) 被贡献签单的商户Id |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
{- "total": 0,
- "merchant_name": "string",
- "list": [
- {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
]
}
activity_id required | integer (Id) 活动Id |
merchant_id required | integer (Id) 被贡献签单的商户Id |
from_merchant_id required | integer (Id) 贡献签单的商户Id |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
{- "total": 0,
- "merchant_name": "string",
- "list": [
- {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
]
}
activity_id required | integer (Id) 活动Id |
staff_id required | integer (Id) 贡献签单的员工Id |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
{- "total": 0,
- "list": [
- {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
]
}
activity_id required | integer (Id) 活动Id |
merchant_id required | integer (Id) 被贡献签单的商户Id |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
{- "total": 0,
- "merchant_name": "string",
- "list": [
- {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0,
- "has_orders": true
}
]
}
activity_id required | integer (Id) 活动ID |
ranking_type required | string (RankingType) Enum: "views" "fissions" "forwards" "signups" "coupons" "self_signs" "contributed_signs" "from_other_merchant_signs" "points" "live_invitations" "live_reservations" "collects" "reward_beans" "signs_total" "money" "seckills" "sales_total" "prestore_card" "visiting_shops" "offline_orders" "offline_contributed_orders" "offline_owed_orders" "ordered_customers" "blind_boxs" 排行榜类型 |
team_id | integer (Id) 战区id |
province_id | integer (Id) 省份id |
store_id | integer (Id) 店面id |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
{- "list": [
- {
- "ranking": 0,
- "data": {
- "id": 0,
- "avatar_url": "string",
- "name": "string",
- "merchant_name": "string",
- "amount": 0
}
}
]
}
activity_id required | integer (Id) 活动ID |
dimensions required | string 纬度,用逗号分隔,有views,fissions,forwards,signups,coupons,blind_boxs,collects,signs_total(直播签单),ordered_customers(签单客户),live_reservations(直播预约),from_other_merchant_signs(被贡献签单),self_signs(自签单),sales_total(签单收款),contributed_signs(贡献签单),live_invitations(直播邀请) |
period required | string 周期 |
offset | number 分页参数 |
limit | number 分页参数 |
{- "list": [
- {
- "id": 0,
- "merchant_name": "string",
- "views": 0,
- "fissions": 0,
- "forwards": 0,
- "signups": 0,
- "coupons": 0,
- "collects": 0,
- "signs_total": 0,
- "ordered_customers": 0,
- "live_reservations": 0,
- "from_other_merchant_signs": 0,
- "self_signs": 0,
- "sales_total": 0,
- "contributed_signs": 0,
- "live_invitations": 0
}
]
}
{- "views": 0,
- "fissions": 0,
- "forwards": 0,
- "signups": 0,
- "coupons": 0,
- "blind_boxs": 0,
- "collects": 0,
- "signs_total": 0,
- "ordered_customers": 0,
- "live_reservations": 0,
- "from_other_merchant_signs": 0,
- "self_signs": 0,
- "sales_total": 0,
- "contributed_signs": 0,
- "live_invitations": 0
}
{- "total": {
- "views": 0,
- "fissions": 0,
- "signups": 0,
- "coupons": 0,
- "seckill_orders": 0,
- "signs": 0,
- "collects": 0,
- "prestore_card": 0
}, - "average": {
- "views": 0,
- "fissions": 0,
- "signups": 0,
- "coupons": 0,
- "seckill_orders": 0,
- "signs": 0,
- "collects": 0,
- "prestore_card": 0
}, - "seckill_orders_source": [
- {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}
], - "orders_source": [
- {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}
], - "views_source": [
- {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}
], - "signups_source": [
- {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}
], - "signups_conversion": [
- {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}
], - "prestore_card_order_source": [
- {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}, - {
- "source_name": "string",
- "amount": 0
}
], - "coupons_conversion": [
- {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}
], - "prestore_card_conversion": [
- {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}, - {
- "source_name": "string",
- "amount": 0,
- "percentage": 0
}
]
}
{- "coupons": {
- "count": 0,
- "amount": 0
}, - "blind_boxs": {
- "count": 0,
- "amount": 0
}, - "live_orders": {
- "count": 0,
- "amount": 0
}, - "seckill_orders": {
- "amount": 0
}, - "stage_rewards": [
- {
- "id": 0,
- "name": "string",
- "is_finished": true,
- "amount": 0
}
], - "total_reward": 0,
- "withdrawable_reward": 0,
- "not_finish_deduct_balance": 0,
- "budget_balance": {
- "amount": 0,
- "views": {
- "amount": 0,
- "total": 0,
- "merchant_count": 0
}, - "staff_fissions": {
- "amount": 0,
- "total": 0,
- "merchant_count": 0
}, - "user_fissions": {
- "amount": 0,
- "total": 0,
- "merchant_count": 0
}
}, - "live_red_package_balance": 0
}
activity_id required | integer (Id) 活动ID |
order_code required | string 订单code |
{- "earnest": 0,
- "status": "paying",
- "related_product": {
- "id": 0,
- "title": "string",
- "description": "string",
- "cover_url": "string",
- "original_price": 0,
- "current_price": 0,
- "merchant": {
- "id": 0,
- "name": "string"
}
}
}
activity_id required | integer (Id) 活动ID |
community_name required | string 小区名称 |
room_no required | string 房号 |
progress | string 装修进度 |
company | string 装修公司 |
materials | string 装修材料 |
description required | string 备注 |
{- "community_name": "string",
- "room_no": "string",
- "progress": "string",
- "company": "string",
- "materials": "string",
- "description": "string"
}
activity_id required | integer (Id) 活动ID |
enable_staff_buy required | boolean 是否开启员工下单 |
enable_product_sales required | boolean 是否显示产品销量 |
enable_withdrawable_status required | boolean 是否展示红包提现状态 |
enable_order_status required | boolean 是否展示下单状态 |
thermodynamic_value required | number 热力值 |
{- "enable_staff_buy": true,
- "enable_product_sales": true,
- "enable_withdrawable_status": true,
- "enable_order_status": true,
- "thermodynamic_value": 0
}