余额列表

1) 请求地址

http://m.test.azmks.com/user/capital-account/new-list

2) 调用方式:HTTP get

3) 接口描述:

  • 余额明细

4) 请求参数:

GET参数:

字段名称 字段说明 类型 必填 备注
page[cur_page] 1 string Y -
page[page_size] 20 string Y -
trade_type expend、income string Y 支出、收入
date_time 2021-03-15 string Y -

5) 请求返回结果:

{
    "code": 0,
    "data": {
        "new_user": {
            "vip_money_format": "0.00",//可用余额
            "frozen_vip_money_format": "0.00",//冻结余额
            "unfreeze": "您有18.8元余额将于2022年4月20日23:58分解冻",
            "is_vip": 0,//是否vip
            "vip_privilege": [
                "天天免邮,免邮",
                "0元领好物,实物实物副标题",
                "红包专区,红包副标题"
            ],
            "economy_money": "0.00"//省多少钱
        },
        "page": {
            "page_key": "page",
            "page_id": "pagination",
            "default_page_size": 10,
            "cur_page": 1,
            "page_size": 10,
            "page_size_list": [
                10,
                50,
                500
            ],
            "record_count": 15,
            "page_count": 2,
            "offset": 0,
            "url": null,
            "sql": null
        },
        "list": [
            {
                "id": "158",
                "account_sn": "8020200303232640877210",//消费流水号
                "user_id": "32630",
                "admin_user": "",
                "ys_amount": "0.00",
                "amount": "-11.00",//变动金额
                "cur_balance": "169.24",//当前余额
                "add_time_format": "2020-03-03 23:26:40",
                "add_time": "1583249200",//变动时间
                "last_time": "0",
                "note": "购物消费",//消费备注
                "process_type": "8",
                "payment_code": "0",
                "payment_name": "余额支付",
                "recive_date": "到账时间",
                "order_date": "下单时间",
                "order_sn": "订单号",
                "goods_amount": "商品金额",
                "trade_type": "购物"
            }
        ],
        "page_output": false
    },
    "message": ""
}

6) 请求返回结果参数说明:

字段名称 字段说明 类型 必填 备注
process_type 流水类型 string Y (35任务 8余额支出 31 返钱)
recive_date 到账时间 string Y -
order_date 下单时间 string Y -
order_sn 订单号 string Y -
goods_amount 商品金额 string Y -
vip_money_format 可用余额 string Y -
frozen_vip_money_format 冻结余额 string Y -
unfreeze 解冻提示 string Y -
is_vip 是否vip string Y -
vip_privilege 轮播 array Y -
amount 变动金额 string Y -
cur_balance 当前余额 string Y -
add_time_format 变动时间 string Y -
note 消费备注 string Y -
文档更新时间: 2022-04-28 17:24   作者:xieyuhua