API接口文档

插件数据

创建于 2021-11-15 / 最近更新于 2021-11-15 / 1249
字体: [默认] [大] [更大]

返回数据格式

"plugins_salerecords_data": {
    "base": {
        "order_random_max_number": "",
        "home_bottom_number": "",
        "home_bottom_title": "",
        "home_bottom_desc": "描述",
        "goods_detail_number": "",
        "goods_detail_time_pause": "",
        "goods_detail_time_interval": "",
        "goods_detail_tips": "刚刚,1分钟前,5分钟前,2分钟前,30秒前",
        "goods_detail_tips_location": "top-left",
        "is_home_bottom": "1",
        "is_goods_detail": "1",
        "order_status": [],
        "order_status_text": "",
        "goods_detail_tips_location_text": "左上"
    },
    "data": [
        {
            "user_id": "85",
            "order_id": "79",
            "goods_id": "7",
            "title": "纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条",
            "images": "https://dev.shopxo.vip/static/upload/images/goods/2019/01/15/1547540603500383.jpg",
            "buy_number": "1",
            "add_time": "08-22 22:50",
            "goods_url": "https://dev.shopxo.vip/goods/index/id/7.html",
            "user": {
                "username": "罗庆生",
                "nickname": "",
                "mobile": "18600077696",
                "email": "",
                "avatar": "https://dev.shopxo.vip/static/index/default/images/default-user-avatar.jpg",
                "province": "",
                "city": "",
                "id": "85",
                "mobile_security": "186***696",
                "email_security": "",
                "user_name_view": "罗***生"
            },
            "unit": "件",
            "tips": "罗***生刚刚购买了1件!"
        }
    ]
}

返回参数说明 -> data

参数名 是否必须 类型 描述
base array 插件基础数据
data array 数据

首页、数据返回,统一字段为 plugins_salerecords_data

0 人点赞过