文档
测试

代理商账户

POST
http://192.168.0.148:3000/finance/agency

接口描述

查看代理商账户的资金情况,包括总金额、账户余额、待审核金额、冻结金额、累计提现金额等

请求头

参数名
类型
描述
必填
code
string
示例:识别码
必填

请求参数

参数名
类型
描述
必填
name
string
名字
必填
page_size
int
页面大小
必填
phone
int
电话
必填
type
string
类型
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
object
数据字典
必填
total
int
统计数据列表示例:29
必填
list
array
数据列表
必填
id
int
资金列表id 示例:75
必填
user_type
int
用户类型示例:3
必填
relation_id
int
关联用户id 示例:75
必填
total_amount
string
总计金额 示例:0.0000
必填
balance
string
余额 示例:0.0000
必填
audit_amount
int
审核资金 示例:0
必填
freeze_amount
string
冻结资金 示例:0.00
必填
withdrawal_amount
string
已经体现金额 示例:0.00
必填
name
string
名称 示例:1231232
必填
phone
int
电话 示例:19123123123
必填
role
string
角色 示例:店铺管理员
必填
msg
string
示例:代理商账户
必填

说明 / 示例

{ "code": 1, "data": { "total": 29, "list": [{ "id": 75, "user_type": 3, "relation_id": 75, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "1231232", "phone": 19123123123, "role": "店铺管理员" }, { "id": 74, "user_type": 2, "relation_id": 74, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "1231231333", "phone": 13123123123, "role": "业务员" }, { "id": 73, "user_type": 2, "relation_id": 73, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "1231231223", "phone": 12334123123, "role": "业务员" }, { "id": 72, "user_type": 1, "relation_id": 72, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "大青蛙多", "phone": 12312312345, "role": "代理商" }, { "id": 71, "user_type": 3, "relation_id": 71, "total_amount": "1.3600", "balance": "1.3600", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "张翰林", "phone": 15786325942, "role": "店铺管理员" }, { "id": 70, "user_type": 2, "relation_id": 70, "total_amount": "27.2000", "balance": "27.2000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "wqer", "phone": 12312312333, "role": "业务员" }, { "id": 69, "user_type": 2, "relation_id": 69, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "黄", "phone": 12121212121, "role": "业务员" }, { "id": 68, "user_type": 3, "relation_id": 68, "total_amount": "4.0000", "balance": "4.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试1100 -管理员01", "phone": 12312312306, "role": "店铺管理员" }, { "id": 67, "user_type": 2, "relation_id": 67, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试1100-业务员01", "phone": 12312311001, "role": "业务员" }, { "id": 66, "user_type": 1, "relation_id": 66, "total_amount": "8.0000", "balance": "8.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试011", "phone": 12312312011, "role": "代理商" }, { "id": 65, "user_type": 1, "relation_id": 65, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试011", "phone": 12312312012, "role": "代理商" }, { "id": 64, "user_type": 1, "relation_id": 64, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试002", "phone": 12312312002, "role": "代理商" }, { "id": 63, "user_type": 1, "relation_id": 63, "total_amount": "3.2200", "balance": "3.2200", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试001", "phone": 12312312001, "role": "代理商" }, { "id": 62, "user_type": 1, "relation_id": 62, "total_amount": "16.0000", "balance": "16.0000", "audit_amount": 46.8, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试代理1100", "phone": 12312312301, "role": "代理商" }, { "id": 61, "user_type": 1, "relation_id": 61, "total_amount": "6.0000", "balance": "6.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试(虚拟)", "phone": 12123123123, "role": "代理商" }, { "id": 60, "user_type": 3, "relation_id": 60, "total_amount": "45.1600", "balance": "45.1600", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试分成管理", "phone": 12312123123, "role": "店铺管理员" }, { "id": 59, "user_type": 2, "relation_id": 59, "total_amount": "181.2000", "balance": "181.2000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试分成", "phone": 12312312123, "role": "业务员" }, { "id": 58, "user_type": 3, "relation_id": 58, "total_amount": "15.7200", "balance": "15.7200", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "商铺管理员1021", "phone": 12312311021, "role": "店铺管理员" }, { "id": 57, "user_type": 2, "relation_id": 57, "total_amount": "40.0000", "balance": "40.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试业务员1020", "phone": 12312311020, "role": "业务员" }, { "id": 56, "user_type": 3, "relation_id": 56, "total_amount": "0.0000", "balance": "0.0000", "audit_amount": 0, "freeze_amount": "0.00", "withdrawal_amount": "0.00", "name": "测试店铺管理1111", "phone": 12312311111, "role": "店铺管理员" }] }, "msg": "代理商账户" }