文档
测试

会员中心

POST
http://192.168.1.222/member/api.zx/vip_center

请求参数

参数名
类型
描述
必填
apitoken
string
示例:D1KTXR46c4e6a9d4e1392f1f86747329e15ab0EA4BN4jj
必填

响应参数

参数名
类型
描述
必填
data
object
数据字典
必填
lev
ary
dengji 数据列表
必填
privilege
array
阴影图片 数据列表
必填
id
int
图片标识 示例:11
必填
name
string
图片名称 示例:同级津贴
必填
img
string
显示图片地址 示例:http://192.168.1.222/upload/image/2021/03/605d536aa6636.png
必填
sort
int
排序 示例:10
必填
level_id
int
等级标识 示例:9
必填
lev_money
string
升级所需要订单金额。0为不存在订单升级 示例:0.00
必填
lev_day
int
订单金额范围天数 0为不限制 升级示例:0
必填
top_up
string
充值金额 0为不存在充值升级 示例:0.00
必填
level_pro
float
级别折扣 示例:4.5
必填
gift_bag_money
string
礼包升级金额 0为 不存在礼包升级 示例:0.00
必填
level_name
string
等级名称 示例:高级合伙人
必填
sum_amount
string
已有订单金额 示例:0.00
必填
cha
string
距离下一级别差距为0 示例:0.00
必填
lev_money_requirements
str
自身消费满x元,才可以升级
必填
count_privilege
int
特权总数
必填
count_u_privilege
int
拥有特权数量
必填
recommend_lower_day
int
recommend_lower_day天内推荐 recommend_lower 名同等级人数,升级为下一级别;为0则没有天数限制
必填
recommend_lower
int
recommend_lower_day天内推荐recommend_lower 名同级人数,升级为下一级别;为0不存在该升级方式
必填
recommend_num
int
推荐的同等级人数
必填
user
object
用户 数据字典
必填
user_id
int
用户标识 示例:29970
必填
pid
int
上级标识,0为总部 示例:0
必填
headimgurl
string
头像 示例:http://192.168.1.222/static/mobile/default/images/bottom_icon05_lh.png
必填
nick_name
string
用户昵称 示例:001
必填
user_name
string
用户名 示例:
必填
level
object
用户等级 数据字典
必填
level_id
int
等级标识 示例:8
必填
level_name
string
等级名称 示例:服务商
必填
account
object
余额积分 数据字典
必填
balance_money
string
余额 示例:98185.00
必填
use_integral
string
积分 示例:210.00
必填
planet_currency
string
星球币 示例:0.00
必填
margin
str
保证金金额
必填
margin_addtime
int
提交保证金时间
必填
margin_uptime
int
保证金最后更新时间
必填
is_margin
int
是否缴纳保证金,1为缴纳,0为未缴纳
必填
day_n_n
int
保证金需要多少天内提交(为0则没有天数限制)
必填
msg
str
提示框示例:您已成功升级为经销商身份,请在3日内缴纳保证金1000 元
必填
list
array
积分商品 数据列表
必填
goods_id
int
商品标识
必填
goods_name
str
商品名称
必填
short_name
str
商品简称
必填
is_spec
int
是否具有规格
必填
exp_price
ary
小数点价格
必填
now_price
str
现在价格
必填
market_price
str
商城价格
必填
sale_count
必填
collect_count
必填
goods_thumb
str
图片
必填
is_promote
必填
is_cross_border
必填
country
必填
send_address
必填
tax_ratio
必填
tax_money
必填
integral
str
积分
必填
sign
object
签到数据字典
必填
constant_num
int
签到次数
必填
score
int
下一次签到 积分
必填
recommend_vip
ary
vip新增列表
必填
number
str
数量
必填
money
str
奖励金额
必填
is_sel
int
1 表示满足该条件,0表示不满足
必填
count
int
0 总数
必填
code
int
示例:1
必填
msg
string
示例:Success.
必填

说明 / 示例

``` { "data": { "list": [ { "goods_id": 264, "goods_name": "HR赫莲娜绿宝瓶精华", "short_name": "", "is_spec": 0, "exp_price": [ "1161", "00" ], "now_price": "1161.00", "market_price": "1161.00", "sale_count": 0, "collect_count": 0, "goods_thumb": "http://192.168.1.222/upload/gimg/2021/04/608694635ceb5_thumb.jpg", "goods_img": "http://192.168.1.222/upload/gimg/2021/04/608694635ceb5.jpg", "is_promote": 0, "is_cross_border": 0, "country": "意大利", "send_address": "乌江", "tax_ratio": "0.00", "tax_money": "0.00" } ], "count": 1, "pagenum": 1, "row": 10, "p": 1, "lev": [ { "level_id": 1, "lev_money": "368.00", "lev_day": 0, "top_up": "0.00", "level_pro": 7, "gift_bag_money": "0.00", "level_name": "粉丝", "lev_money_requirements": "0.00", "margin": "0.00", "margin_day": 0, "count_privilege": 11, "count_u_privilege": 3, "privilege": [ { "id": 11, "name": "同级津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d536aa6636.png", "sort": 10 }, { "id": 10, "name": "招募津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d5348e9216.png", "sort": 9 }, { "id": 1, "name": "身份折扣", "img": "http://192.168.1.222/upload/image/2021/03/605d48af509ef.png", "sort": 0 }, { "id": 2, "name": "辅导销售", "img": "http://192.168.1.222/upload/image/2021/03/605d5209e9805.png", "sort": 0 }, { "id": 3, "name": "季度奖励", "img": "http://192.168.1.222/upload/image/2021/03/605d524d6750f.png", "sort": 0 }, { "id": 4, "name": "年度分红", "img": "http://192.168.1.222/upload/image/2021/03/605d5280bd385.png", "sort": 0 }, { "id": 5, "name": "拼团开团", "img": "http://192.168.1.222/upload/image/2021/03/605d52a85b307.png", "sort": 0 }, { "id": 6, "name": "消费津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d52c71247b.png", "sort": 0 }, { "id": 7, "name": "线上仓库", "img": "http://192.168.1.222/upload/image/2021/03/605d52ecdc007.png", "sort": 0 }, { "id": 8, "name": "身份好券", "img": "http://192.168.1.222/upload/image/2021/03/605d530c9fe4f.png", "sort": 0 }, { "id": 9, "name": "学院进修", "img": "http://192.168.1.222/upload/image/2021/03/605d532af23d3.png", "sort": 0 } ], "sum_amount": "105826.94", "cha": "105458.94" }, { "level_id": 3, "lev_money": "6800.00", "lev_day": 0, "top_up": "89.00", "level_pro": 6, "gift_bag_money": "89.00", "level_name": "VIP", "lev_money_requirements": "0.00", "margin": "0.00", "margin_day": 0, "count_privilege": 11, "count_u_privilege": 3, "privilege": [ { "id": 11, "name": "同级津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d597854d9e.png", "sort": 10 }, { "id": 10, "name": "招募津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59977dc8d.png", "sort": 9 }, { "id": 1, "name": "身份折扣", "img": "http://192.168.1.222/upload/image/2021/03/605d59cc1a113.png", "sort": 0 }, { "id": 2, "name": "辅导销售", "img": "http://192.168.1.222/upload/image/2021/03/605d53c1378b5.png", "sort": 0 }, { "id": 3, "name": "季度奖励", "img": "http://192.168.1.222/upload/image/2021/03/605d524d6750f.png", "sort": 0 }, { "id": 4, "name": "年度分红", "img": "http://192.168.1.222/upload/image/2021/03/605d5280bd385.png", "sort": 0 }, { "id": 5, "name": "拼团开团", "img": "http://192.168.1.222/upload/image/2021/03/605d59ba9b9a2.png", "sort": 0 }, { "id": 6, "name": "消费津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59aaba1e6.png", "sort": 0 }, { "id": 7, "name": "线上仓库", "img": "http://192.168.1.222/upload/image/2021/03/605d52ecdc007.png", "sort": 0 }, { "id": 8, "name": "身份好券", "img": "http://192.168.1.222/upload/image/2021/03/605d53fec9ab6.png", "sort": 0 }, { "id": 9, "name": "学院进修", "img": "http://192.168.1.222/upload/image/2021/03/605d5411890d9.png", "sort": 0 } ], "sum_amount": "84691.30", "cha": "77891.30" }, { "level_id": 7, "lev_money": "250000.00", "lev_day": 180, "top_up": "10000.00", "level_pro": 5, "gift_bag_money": "2980.00", "level_name": "经销商", "lev_money_requirements": "0.00", "margin": "3000.00", "margin_day": 3, "count_privilege": 11, "count_u_privilege": 3, "privilege": [ { "id": 11, "name": "同级津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d597854d9e.png", "sort": 10 }, { "id": 10, "name": "招募津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59977dc8d.png", "sort": 9 }, { "id": 1, "name": "身份折扣", "img": "http://192.168.1.222/upload/image/2021/03/605d59cc1a113.png", "sort": 0 }, { "id": 2, "name": "辅导销售", "img": "http://192.168.1.222/upload/image/2021/03/605d53c1378b5.png", "sort": 0 }, { "id": 3, "name": "季度奖励", "img": "http://192.168.1.222/upload/image/2021/03/605d524d6750f.png", "sort": 0 }, { "id": 4, "name": "年度分红", "img": "http://192.168.1.222/upload/image/2021/03/605d5280bd385.png", "sort": 0 }, { "id": 5, "name": "拼团开团", "img": "http://192.168.1.222/upload/image/2021/03/605d59ba9b9a2.png", "sort": 0 }, { "id": 6, "name": "消费津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59aaba1e6.png", "sort": 0 }, { "id": 7, "name": "线上仓库", "img": "http://192.168.1.222/upload/image/2021/03/605d52ecdc007.png", "sort": 0 }, { "id": 8, "name": "身份好券", "img": "http://192.168.1.222/upload/image/2021/03/605d53fec9ab6.png", "sort": 0 }, { "id": 9, "name": "学院进修", "img": "http://192.168.1.222/upload/image/2021/03/605d5411890d9.png", "sort": 0 } ], "sum_amount": "84691.30", "cha": "-165308.70" }, { "level_id": 8, "lev_money": "39800.00", "lev_day": 180, "top_up": "39800.00", "level_pro": 4.5, "gift_bag_money": "0.00", "level_name": "服务商", "lev_money_requirements": "50000.00", "margin": "5000.00", "margin_day": 3, "count_privilege": 11, "count_u_privilege": 3, "privilege": [ { "id": 11, "name": "同级津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d597854d9e.png", "sort": 10 }, { "id": 10, "name": "招募津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59977dc8d.png", "sort": 9 }, { "id": 1, "name": "身份折扣", "img": "http://192.168.1.222/upload/image/2021/03/605d59cc1a113.png", "sort": 0 }, { "id": 2, "name": "辅导销售", "img": "http://192.168.1.222/upload/image/2021/03/605d53c1378b5.png", "sort": 0 }, { "id": 3, "name": "季度奖励", "img": "http://192.168.1.222/upload/image/2021/03/605d524d6750f.png", "sort": 0 }, { "id": 4, "name": "年度分红", "img": "http://192.168.1.222/upload/image/2021/03/605d5280bd385.png", "sort": 0 }, { "id": 5, "name": "拼团开团", "img": "http://192.168.1.222/upload/image/2021/03/605d59ba9b9a2.png", "sort": 0 }, { "id": 6, "name": "消费津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59aaba1e6.png", "sort": 0 }, { "id": 7, "name": "线上仓库", "img": "http://192.168.1.222/upload/image/2021/03/605d539d81f2f.png", "sort": 0 }, { "id": 8, "name": "身份好券", "img": "http://192.168.1.222/upload/image/2021/03/605d53fec9ab6.png", "sort": 0 }, { "id": 9, "name": "学院进修", "img": "http://192.168.1.222/upload/image/2021/03/605d5411890d9.png", "sort": 0 } ], "sum_amount": "105826.94", "cha": "66026.94" }, { "level_id": 9, "lev_money": "0", "lev_day": 0, "top_up": "0", "level_pro": 0, "gift_bag_money": "0", "level_name": "高级合伙人", "lev_money_requirements": "0", "margin": "0.00", "margin_day": 0, "count_privilege": 11, "count_u_privilege": 3, "privilege": [ { "id": 11, "name": "同级津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d597854d9e.png", "sort": 10 }, { "id": 10, "name": "招募津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d59977dc8d.png", "sort": 9 }, { "id": 1, "name": "身份折扣", "img": "http://192.168.1.222/upload/image/2021/03/605d59cc1a113.png", "sort": 0 }, { "id": 2, "name": "辅导销售", "img": "http://192.168.1.222/upload/image/2021/03/605d5209e9805.png", "sort": 0 }, { "id": 3, "name": "季度奖励", "img": "http://192.168.1.222/upload/image/2021/03/605d53d0e0465.png", "sort": 0 }, { "id": 4, "name": "年度分红", "img": "http://192.168.1.222/upload/image/2021/03/605d53ea0c3b9.png", "sort": 0 }, { "id": 5, "name": "拼团开团", "img": "http://192.168.1.222/upload/image/2021/03/605d52a85b307.png", "sort": 0 }, { "id": 6, "name": "消费津贴", "img": "http://192.168.1.222/upload/image/2021/03/605d52c71247b.png", "sort": 0 }, { "id": 7, "name": "线上仓库", "img": "http://192.168.1.222/upload/image/2021/03/605d539d81f2f.png", "sort": 0 }, { "id": 8, "name": "身份好券", "img": "http://192.168.1.222/upload/image/2021/03/605d530c9fe4f.png", "sort": 0 }, { "id": 9, "name": "学院进修", "img": "http://192.168.1.222/upload/image/2021/03/605d532af23d3.png", "sort": 0 } ], "sum_amount": "105826.94", "cha": "0" } ], "user": { "user_id": 30004, "pid": 0, "headimgurl": "http://192.168.1.222/static/mobile/default/images/bottom_icon05_lh.png", "nick_name": "040", "user_name": "", "level": { "level_id": 1, "level_name": "粉丝" }, "account": { "planet_currency": "0.00", "balance_money": "998811.25", "use_integral": "1315.00" }, "margin": "0.00", "margin_addtime": 0, "margin_uptime": 0, "is_margin": 0, "day_n_n": 0, "msg": "您已成功升级为粉丝,请在0日内缴纳保证金 0.00 元" }, "recommend_vip": [ { "number": "1", "money": "10", "is_sel": 1, "count": 0 }, { "number": "2", "money": "20", "is_sel": 0, "count": 0 }, { "number": "3", "money": "30", "is_sel": 0, "count": 0 } ], "sign": { "score": 5, "constant_num": 1 } }, "code": 1, "msg": "Success." } ```