/tool/open_api/api/user/member-one
数据结构
export interface Response {
code: number;
data: Data;
msg: string;
}
export interface Data {
/**
* 会员详情
*/
member: Member;
}
/**
* 会员详情
*/
export interface Member {
/**
* 是否自动升级
*/
auto_update: number;
/**
* 会员背景图片
*/
bg_pic_url: string;
/**
* 购买商品成为会员
*/
buy_goods_can_update: number;
/**
* 会员中心配置
*/
config: null;
/**
* 创建时间
*/
created_at: string;
/**
* 会员折扣
*/
discount: string;
/**
* 可购买的商品列表
*/
goods_ids_list: string;
/**
* 商品封面图
*/
goods_pic: null;
/**
* 会员id
*/
id: number;
/**
* 升级是否有条件
*/
is_condition: number;
/**
* 是否可购买
*/
is_purchase: number;
/**
* 会员等级
*/
level: number;
/**
* 会员完成订单金额满足则升级
*/
money: string;
/**
* 会员名称
*/
name: string;
/**
* 会员图片
*/
pic_url: string;
/**
* 购买会员价格
*/
price: string;
/**
* 权益标题颜色
*/
rights_color: string;
/**
* 会员规则
*/
rules: string;
/**
* 状态
*/
status: number;
}
示例
{
"msg": "string",
"data": {
"member": {
"id": 0,
"level": 0,
"name": "string",
"auto_update": 0,
"money": "string",
"discount": "string",
"status": 0,
"pic_url": "string",
"is_purchase": 0,
"price": "string",
"rules": "string",
"created_at": "string",
"bg_pic_url": "string",
"buy_goods_can_update": 0,
"goods_ids_list": "string",
"is_condition": 0,
"goods_pic": null,
"rights_color": "string",
"config": null
}
},
"code": 0
}