知识中心
所有文章
帮助中心
AI客户联络中心 升级日志
API文档
AI客户联络
白标接口及地址
消费流水
最后更新于 2022/07/12   阅读数 81

消费流水


  • 接口: user/consumption/page

  • 请求方式: POST

  • 发送字段

    参数类型示例解释必填
    currentint1当前页码
    sizeint10页容量
    createdAtlist[“2021-07-09 00:00:00”,“2021-6-08 23:59:59”]日期搜索期间
    typeint0:消费 1:退还按类型搜索
  • 发送内容示例

    {
        "current":"1",
        "createdAt":["2021-07-09","2021-6-08"]
    }
    
    
    1
    2
    3
    4
    5
  • 返回内容示例

    {
        "code": 0,
        "msg": "success",
        "data": {
            "records": [
                {
                    "id": "1409430626386546689",
                    "accountName": "张章1",
                    "type": 0,
                    "price": "-0.03889",
                    "createdAt": "2021-06-28 16:37:02",
                    "ip": "180.111.220.84"
                },
                {
                    "id": "1409355297420709890",
                    "accountName": "张章1",
                    "type": 0,
                    "price": "-0.00556",
                    "createdAt": "2021-06-28 11:37:42",
                    "ip": "49.65.180.152"
                }
            ],
            "total": "57",
            "size": "10",
            "current": "1",
            "orders": [],
            "optimizeCountSql": true,
            "hitCount": false,
            "countId": "",
            "maxLimit": "",
            "searchCount": true,
            "pages": "6"
        },
        "meta": [
            {
                "name": 0,
                "value": "消费"
            },
            {
                "name": 1,
                "value": "充值"
            }
        ]
    }
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
未能解决您的问题?请联系
本篇目录

消费流水