获取余额明细
GET /app/finance/getPurchaseBalanceList| page |
## 请求参数
页数 |
int | 是 |
| pageSize | 每页个数 | int | 是(最大值50) |
| times | 开始时间 | string | (否)2022-10-26 10:59:00 |
| timee | 结束时间 | string | (否)同上 |
| business_type | 类型 | int | 文档最下面有 |
| 字段 | 名称 | |
| data | 明细内容 | array |
| type_list | 业务类型数组 | array |
data
| 字段 | 名称 | |
| balance | 采购余额(分) | |
| business_type | 业务类型 | int (3,4,5 是增加其他都是i减少) |
| amount | 收入/支出 (分) | |
| user | 用户信息 | array |
^ array:3 [ "code" => 0 "data" => array:6 [ "list" => array:15 [ 0 => array:15 [ "id" => 873 "created_at" => 1667370308 "updated_at" => 1667370360 "order_id" => "[1139]" "uid" => 35 "amount" => 10670 "business_type" => 2 "status" => 1 "balance" => 881889 "pay_type" => 0 "pay_sn" => 183410736559 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 1 => array:15 [ "id" => 868 "created_at" => 1667281447 "updated_at" => 1667281500 "order_id" => "[1135]" "uid" => 35 "amount" => 2601 "business_type" => 2 "status" => 1 "balance" => 892559 "pay_type" => 0 "pay_sn" => 183400961735 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 2 => array:15 [ "id" => 867 "created_at" => 1667280838 "updated_at" => 1667280840 "order_id" => "[1134]" "uid" => 35 "amount" => 2601 "business_type" => 2 "status" => 1 "balance" => 895160 "pay_type" => 0 "pay_sn" => 183400894744 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 3 => array:15 [ "id" => 855 "created_at" => 1667264851 "updated_at" => 1667264880 "order_id" => "[1125]" "uid" => 35 "amount" => 14565 "business_type" => 2 "status" => 1 "balance" => 897761 "pay_type" => 0 "pay_sn" => 183399136275 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 4 => array:15 [ "id" => 836 "created_at" => 1666938706 "updated_at" => 1666938720 "order_id" => "[1110]" "uid" => 35 "amount" => 867 "business_type" => 2 "status" => 1 "balance" => 912326 "pay_type" => 0 "pay_sn" => 183363260304 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 5 => array:15 [ "id" => 794 "created_at" => 1666753201 "updated_at" => 1666753260 "order_id" => "[1072]" "uid" => 35 "amount" => 867 "business_type" => 2 "status" => 1 "balance" => 913193 "pay_type" => 0 "pay_sn" => 183342854701 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 6 => array:15 [ "id" => 786 "created_at" => 1666687848 "updated_at" => 1666687860 "order_id" => "[1064]" "uid" => 35 "amount" => 1300 "business_type" => 2 "status" => 1 "balance" => 914060 "pay_type" => 0 "pay_sn" => 183335665863 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 7 => array:15 [ "id" => 732 "created_at" => 1665629674 "updated_at" => 1665629700 "order_id" => "[1017]" "uid" => 35 "amount" => 9180 "business_type" => 2 "status" => 1 "balance" => 915360 "pay_type" => 0 "pay_sn" => 183219266109 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 8 => array:15 [ "id" => 668 "created_at" => 1661911921 "updated_at" => 1661911980 "order_id" => "[945]" "uid" => 35 "amount" => 1144 "business_type" => 2 "status" => 1 "balance" => 924540 "pay_type" => 0 "pay_sn" => 182810313056 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 9 => array:15 [ "id" => 667 "created_at" => 1661824729 "updated_at" => 1661824729 "order_id" => "" "uid" => 35 "amount" => 832 "business_type" => 5 "status" => 0 "balance" => 925684 "pay_type" => 2 "pay_sn" => 0 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "订单号:182791930704" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 10 => array:15 [ "id" => 666 "created_at" => 1661744817 "updated_at" => 1661744820 "order_id" => "[944]" "uid" => 35 "amount" => 832 "business_type" => 2 "status" => 1 "balance" => 924852 "pay_type" => 0 "pay_sn" => 182791931615 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 11 => array:15 [ "id" => 665 "created_at" => 1661738142 "updated_at" => 1661738160 "order_id" => "[943]" "uid" => 35 "amount" => 832 "business_type" => 2 "status" => 1 "balance" => 925684 "pay_type" => 0 "pay_sn" => 182791197474 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 12 => array:15 [ "id" => 664 "created_at" => 1661737901 "updated_at" => 1661737920 "order_id" => "[941]" "uid" => 35 "amount" => 1040 "business_type" => 2 "status" => 1 "balance" => 926516 "pay_type" => 0 "pay_sn" => 182791170958 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 13 => array:15 [ "id" => 620 "created_at" => 1660801265 "updated_at" => 1660801320 "order_id" => "[928]" "uid" => 35 "amount" => 17280 "business_type" => 2 "status" => 1 "balance" => 927556 "pay_type" => 0 "pay_sn" => 182688140980 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] 14 => array:15 [ "id" => 619 "created_at" => 1660801265 "updated_at" => 1660801320 "order_id" => "[927]" "uid" => 35 "amount" => 6136 "business_type" => 2 "status" => 1 "balance" => 944836 "pay_type" => 0 "pay_sn" => 182688140979 "user" => array:11 [ "id" => 35 "created_at" => 1631947675 "updated_at" => 1666318730 "mobile" => "" "avatar" => "https://supply-chain-yunzmall.oss-cn-beijing.aliyuncs.com/20211011/1633932497play.png" "username" => "18249104357" "nickname" => "测试1" "status" => 1 "level_id" => 6 "AccountBalanceInfo" => null "UserLevelInfo" => array:6 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "level" => 0 "cps_ratio" => 0 ] ] "remarks" => "" "pet_supplier_id" => 0 "supplier" => array:11 [ "id" => 0 "created_at" => null "updated_at" => null "name" => "" "uid" => 0 "realname" => "" "mobile" => "" "value" => "" "deduction_type" => 0 "deduction_ratio" => 0 "sellt_type" => 0 ] ] ] "type_list" => array:6 [ 0 => array:2 [ "name" => "汇聚余额采购" "value" => 1 ] 1 => array:2 [ "name" => "站内余额采购" "value" => 2 ] 2 => array:2 [ "name" => "站内余额充值" "value" => 4 ] 3 => array:2 [ "name" => "站内余额退款" "value" => 5 ] 4 => array:2 [ "name" => "站内余额扣除" "value" => 6 ] 5 => array:2 [ "name" => "汇聚余额充值" "value" => 3 ] ] "total" => 139 "page" => 1 "pageSize" => 15 "next_url" => "" ] "msg" => "获取成功"]