文档
测试

财务记录

POST
http://pig.xinghaoruiye.com/wechat/finance/index

请求参数

参数名
类型
描述
必填
status
int
示例:1 //1收入,2支出
必填
start
必填
end
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
damage
int
示例:0 //损益
必填
type_a
int
示例:300//保险收入
必填
type_b
int
示例:15000 //商品猪收入
必填
type_c
int
示例:200 //其他收入
必填
type_d
int
示例:0 //水电支出
必填
type_e
int
示例:0 //人工支出
必填
type_f
int
示例:0 //饲料支出
必填
type_g
int
示例:0 //药品及其他支出
必填
type_h
int
示例:0 //检修支出
必填
type_i
int
示例:0 //利息支出
必填
type_j
int
示例:0 //其他支出
必填
type_k
int
示例:0 //淘汰猪销售
必填
type_l
int
示例:0 //饲料收入
必填
type_m
int
示例:0 //药品及其他收入
必填
type_n
int
示例:0 //检修收入
必填
type_o
int
示例:0 //饲料入库支出
必填
type_p
int
示例:0 //药品入库支出
必填
type_q
int
示例:0 //配件入库支出
必填
type_r
int
示例:0 //检测支出(养殖场)
必填
list_a
array
数据列表 //养殖场
必填
id
int
示例:1
必填
money
int
示例:15000
必填
type
string
示例:商品猪收入
必填
add_time
string
示例:2021-05-17 16:05:48
必填
remark
string
示例:商品猪收入//备注
必填
list_b
数据列表 //供应场
必填
list_c
数据列表 //维修场
必填
type_s
int
示例:0 //检测收入(供应场)
必填