文档
测试

获取流水详细信息

GET
https://test.52miaosuan.com:8090/miaosuan/finance/flow/detail?flow_record_id=3

接口描述

获取基础财务流水的详情

请求头

参数名
类型
描述
必填
user_id
int
用户编号
必填

请求参数

参数名
类型
描述
必填
flow_record_id
int
流水记录编号
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
id
int
流水编号
必填
update_time
string
更新时间,如:2021-01-13 04:42:17
必填
series_number
string
流水编码:030100000002
必填
amount
float
流水金额,示例:11534.2
必填
upper_amount
string
大写金额,示例:壹万壹仟伍佰叁拾肆元贰角
必填
flow_type_name
string
流水类型名称,示例:水电气费
必填
flow_type_id
int
流水类型ID,示例:10
必填
flow_done
int
流水是否完成枚举(0 - 未付、未收,1 - 已付、已收),示例:1
必填
flow_status
string
流水状态说明,示例:已付、未付、已收、未收
必填
trade_type_name
string
交易方式名称,示例:支付宝转账
必填
trade_type_id
int
交易方式ID,示例:1
必填
related_name
string
流水交易关联方名称,示例:供应商A
必填
recorder_name
string
流水记录人名称,示例:张师兄
必填
description
string
流水备注,示例:今天将上个月的材料款打给了A
必填
related_files
array
流水关联的附件
必填
file_name
string
流水附件名称,示例:test.png
必填
file_url
string
流水附件URL,示例:http://xxxxx
必填
occur_time
date
流水发生时间
必填

说明 / 示例

响应结果: ```json { "code": 0, "msg": "成功", "data": { "id": 3, "update_time": "2021-01-13 04:42:17", "occur_time": "2021-02-24", "series_number": "030100000002", "amount": 11534.20, "upper_amount": "壹万壹仟伍佰叁拾肆元贰角", "flow_type_name": "水电气费", "flow_type_id": 10, "flow_done": 1, "flow_status": "已付", "trade_type_name": "支付宝转账", "trade_type_id": 1, "related_name": "供应商A", "recorder_name": "张师兄", "description": "今天将上个月的材料款打给了A", "related_files": [{"file_name": "test.png", "file_url": "http://xxxxx"}] } } ```