API接口文档

会员首页

创建于 2021-10-18 / 80

简要描述

会员首页

接口版本

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

请求URL

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

请求方式

POST

公共参数

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

请求参数

返回示例

正确时返回

{
    "msg": "处理成功",
    "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" }, "data": [ { "id": "1", "name": "全场折扣", "desc": "高级会员全场6折购", "images_url": "https://d1.shopxo.vip/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "is_enable": "1", "add_time": "2020-02-02 16:39:03", "upd_time": "", "images_url_old": "/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "add_time_time": "2020-02-02 16:39:03", "add_time_date": "2020-02-02" }, { "id": "2", "name": "满减优惠", "desc": "下单就减5元,高级会员尊享优惠", "images_url": "https://d1.shopxo.vip/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "is_enable": "1", "add_time": "2020-02-02 16:39:44", "upd_time": "", "images_url_old": "/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "add_time_time": "2020-02-02 16:39:44", "add_time_date": "2020-02-02" }, { "id": "3", "name": "终身会员", "desc": "终身会员享受更多福利", "images_url": "https://d1.shopxo.vip/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "is_enable": "1", "add_time": "2020-02-02 16:40:22", "upd_time": "", "images_url_old": "/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "add_time_time": "2020-02-02 16:40:22", "add_time_date": "2020-02-02" }, { "id": "4", "name": "分享返佣", "desc": "三级分销返佣计划,赚钱了赚钱了!", "images_url": "https://d1.shopxo.vip/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "is_enable": "1", "add_time": "2020-02-02 16:40:45", "upd_time": "2021-03-22 20:46:50", "images_url_old": "/static/upload/images/plugins_membershiplevelvip/2019/04/25/1556163954923228.jpg", "add_time_time": "2020-02-02 16:40:45", "add_time_date": "2020-02-02" } ] } }

错误时返回

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

返回参数说明 -> data

参数名 是否必须 类型 描述
base array 插件基础配置
data array 卡片会员介绍

备注

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

0 人点赞过