文档
测试

余额明细

GET
{{url}}/api/my/balancelog

请求参数

参数名
类型
描述
必填
page
1,第几页,不传默认第一页
必填
transaction_type
0,交易类型1收入2支出3提现4充值,不传默认全部
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
data
object
数据字典
必填
id
int
示例:1
必填
balance
int
示例:50
必填

说明 / 示例

```language { "code": 1, "msg": "ok", "data": [ { "id": 18, "user_id": 2,-----------------------------用户id "order_id": 62,---------------------------订单id "type": 5,--------------交易类型1项目2团队3黑名单4担保5朋友圈6创作者7充值8看创作者 "price": 1,------------------------交易金额,单位分 "balance_before": 0,----------------交易前钱包余额 "balance_after": 0,------------------------交易后钱包余额 "transaction_type": 2,------------------交易类型1收入2支出3提现4充值 "commission_type": 0,--------------------佣金类型1直接推广2间接推广 "description": "发布支出",---------------------描述 "create_time": 1626762085, "update_time": 1626762085 }, { "id": 11, "user_id": 2, "order_id": 50, "type": 4, "price": 1, "balance_before": 0, "balance_after": 0, "transaction_type": 2, "commission_type": 0, "description": "担保支出", "create_time": 1626762085, "update_time": 1626762085 }, { "id": 10, "user_id": 2, "order_id": 49, "type": 1, "price": 0, "balance_before": 0, "balance_after": 0, "transaction_type": 2, "commission_type": 0, "description": "发布支出", "create_time": 1626762085, "update_time": 1626762085 }, { "id": 9, "user_id": 2, "order_id": 48, "type": 1, "price": 0, "balance_before": 0, "balance_after": 0, "transaction_type": 2, "commission_type": 0, "description": "发布支出", "create_time": 1626762085, "update_time": 1626762085 }, { "id": 3, "user_id": 2, "order_id": 37, "type": 1, "price": 0, "balance_before": 0, "balance_after": 0, "transaction_type": 2, "commission_type": 0, "description": "发布支出", "create_time": 1626762085, "update_time": 1626762085 }, { "id": 1, "user_id": 2, "order_id": 1, "type": 1, "price": 0, "balance_before": 0, "balance_after": 0, "transaction_type": 2, "commission_type": 0, "description": "发布支出", "create_time": 1626762085, "update_time": 1626762085 } ] } ```