API接口文档

会员中心

创建于 2021-10-18 / 106

简要描述

会员中心

接口版本

版本号 制定人 制定日期 修订日期
1.0.0 Devil 2020-09-29

请求URL

plugins/index&pluginsname=membershiplevelvip&pluginscontrol=vip&pluginsaction=index

请求方式

POST

公共参数

参数名 是否必须 类型 默认值 描述
application string web 请求应用、参考公共中详解
application_client_type string pc 请求客户端、参考公共中详解
token string token

请求参数

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "base": {
            "application_name": "会员等级",
            "level_rules": "0",
            "order_close_time": "30",
            "profit_order_create_time": "5",
            "profit_order_settlement_time": "10800",
            "user_poster_share_title": "",
            "user_poster_share_desc": "",
            "banner_top_title": "超级会员专享超大容量,极速下载特权",
            "banner_middle_name": "",
            "banner_bottom_content": "

hello

", "not_opening_vip_desc": "", "user_vip_center_notice": "", "is_admin_user_level_show": "1", "is_user_buy": "1", "is_supported_renew_old_order": "0", "is_commission": "1", "is_propaganda": "1", "banner_bg_images": "https://d1.shopxo.vip/static/plugins/images/membershiplevelvip/index-bg.png" }, "user_vip": { "id": "4", "name": "VIP1", "rules_min": "100", "rules_max": "999999", "order_price": "100.00", "full_reduction_price": "5.00", "discount_rate": "0", "is_enable": "1", "is_supported_pay_buy": "1", "is_supported_renew": "1", "pay_period_rules": [ { "number": "3650", "value": "10", "unit": "年", "price": "288", "commission": "5" } ], "add_time": "2020-12-03 11:59:14", "upd_time": "2021-10-18 18:26:25", "images_url_old": "", "add_time_time": "2020-12-03 11:59:14", "add_time_date": "2020-12-03", "user_vip_model": "auto", "icon": "https://d1.shopxo.vip/static/plugins/images/membershiplevelvip/level-default-images.png", "level_name": "VIP1", "user_id": "1" }, "nav_list": [ { "icon": "/static/images/plugins/membershiplevelvip/user-center-order-icon.png", "title": "开通订单", "url": "/pages/plugins/membershiplevelvip/order/order" }, { "icon": "/static/images/plugins/membershiplevelvip/user-center-profit-icon.png", "title": "收益明细", "url": "/pages/plugins/membershiplevelvip/profit/profit" }, { "icon": "/static/images/plugins/membershiplevelvip/user-center-team-icon.png", "title": "我的团队", "url": "/pages/plugins/membershiplevelvip/team/team" }, { "icon": "/static/images/plugins/membershiplevelvip/user-center-poster-icon.png", "title": "推广返利", "url": "/pages/plugins/membershiplevelvip/poster/poster" }, { "icon": "/static/images/plugins/membershiplevelvip/user-center-statistics-icon.png", "title": "数据统计", "url": "/pages/plugins/membershiplevelvip/statistics/statistics" }, { "icon": "/static/images/plugins/membershiplevelvip/user-center-index-icon.png", "title": "会员首页", "url": "/pages/plugins/membershiplevelvip/index/index" } ] } }

错误时返回

{
    "msg": "error",
    "code": -1,
    "data": []
}

返回参数说明 -> data

参数名 是否必须 类型 描述
base array 插件基础配置
user_vip array vip信息
nav_list array 导航

备注

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

0 人点赞过