API接口文档

开通订单 - 列表

创建于 2021-10-19 / 83

简要描述

开通订单列表

接口版本

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

请求URL

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

请求方式

POST

公共参数

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

请求参数

{
    "page": 1,
    "status": "-1",
    "is_more": 1
}
参数名 是否必须 类型 默认值 描述
page int 分页值
status int 状态
is_more int 是否更多参数

返回示例

正确时返回

{
    "msg": "success",
    "code": 0,
    "data": {
        "total": 1,
        "page_total": 1,
        "data": [
            {
                "id": "8",
                "payment_user_order_no": "20211019114618865144",
                "payment_user_id": "7",
                "user_id": "1",
                "number": "3650",
                "price": "288.00",
                "level_id": "4",
                "level_data": "{\"id\":\"4\",\"name\":\"VIP1\",\"images_url\":\"\",\"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\":\"\\u5e74\",\"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\"}",
                "status": "0",
                "settlement_status": "0",
                "type": "0",
                "pay_price": "0.00",
                "payment_id": "0",
                "payment": "",
                "payment_name": "",
                "pay_time": "0",
                "add_time": "1634615178",
                "upd_time": "",
                "user": {
                    "username": "qqqqqq",
                    "nickname": "qqqqqq",
                    "mobile": "17602128368",
                    "email": "",
                    "avatar": "https://d1.shopxo.vip/static/index/default/images/default-user-avatar.jpg",
                    "province": "",
                    "city": "",
                    "id": "1",
                    "mobile_security": "176***368",
                    "email_security": "",
                    "user_name_view": "qqqqqq"
                },
                "type_name": "正常购买",
                "settlement_status_name": "待结算",
                "profit_price_total": 0,
                "period_value": "10",
                "period_unit": "年",
                "status_name": "待支付",
                "pay_time_time": "",
                "pay_time_date": "",
                "add_time_time": "2021-10-19 11:46:18",
                "add_time_date": "2021-10-19"
            }
        ],
        "payment_list": [
            {
                "id": "3",
                "logo": "",
                "name": "微信",
                "sort": "0",
                "payment": "Weixin",
                "apply_terminal_old": [
                    "pc",
                    "h5",
                    "ios",
                    "android",
                    "weixin",
                    "qq"
                ],
                "logo_old": ""
            }
        ]
    }
}

错误时返回

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

返回参数说明 -> data

参数名 是否必须 类型 描述
page_total int 分页总数
total int 数据总数
data array 数据列表
payment_list array 支付方式列表

备注

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

0 人点赞过