用户账户列表
**简要描述:**
- 获取用户账户列表
**请求URL:**
- ` http://jnbilltest.juniuapi.com/api/v1/bill/userAccountList `(测试服)
**请求方式:**
- POST
**参数:**
|参数名|必选|类型|说明|
|:---- |:---|:----- |----- |
|type | 是|int | 账户类型:1资产,2负债,默认1|
**返回示例**
```
成功:
{
"code":10000,
"message":"获取成功",
"res":[
"property_amount" : 156165.54,
"debts_amount" : 45,
"list":[
{
"id":1,
"user_id":4,
"account_name":"rung的建行",
"account_money":"120312.20",
"account_num":"1231231231231231多少",
"account_remark":"可有钱了",
"account_cate_id":11,
"account_type":1,
"order":1,
"removed":0,
"created_at":null,
"updated_at":"2021-01-13 06:02:08"
},
{
"id":22,
"user_id":4,
"account_name":"测试1",
"account_money":"1000.00",
"account_num":"不告诉你",
"account_remark":"我要进行备注了",
"account_cate_id":7,
"account_type":1,
"order":22,
"removed":0,
"created_at":"2021-01-13 11:32:47",
"updated_at":"2021-01-13 06:02:08"
},
{
"id":24,
"user_id":4,
"account_name":"测试4",
"account_money":"1000.00",
"account_num":"31354354681",
"account_remark":"测试测试2",
"account_cate_id":70,
"account_type":1,
"order":24,
"removed":0,
"created_at":"2021-01-13 11:34:23",
"updated_at":"2021-01-13 06:02:09"
},
{
"id":25,
"user_id":4,
"account_name":"公交卡",
"account_money":"500.00",
"account_num":null,
"account_remark":"被备注",
"account_cate_id":17,
"account_type":1,
"order":25,
"removed":0,
"created_at":"2021-01-13 11:34:59",
"updated_at":"2021-01-13 06:02:09"
}
]
]
}
```
**返回参数说明**
|参数名|类型|说明|
|:---- |:----- |----- |
|property_amount|decimal| 资产总额|
|debts_amount|decimal| 负债总额|
|list|array| 列表数据|
|cate_name|string | 账户分类名称|
|cate_icon_url| string | 账户分类图标|
|account_name| string | 账户名称|
|account_money| decimal| 账户余额|
|account_num| string | 账户账号相关|
|account_remark| string | 账户备注|
|order| string | 账户排序字段|
|account_type|int|账户类型:1资产,2负债|
|parent_cate_id|int|账户一级类型id|
**备注**
无