耗损统计
POST
http://xhf.qmbzch.cn/api/statistics/attrition
请求参数
参数名
类型
描述
必填
state_time
str
开始时间 2020-08-01
必填
end_time
str
结束时间 2020-08-20
必填
product_id
int
货物id 如 [1,2,3]
必填
type
str
图线类型 day month week
必填
is_all
int
1 代表 单线 0代表多线
必填
响应参数
参数名
类型
描述
必填
state
str
请求的返回状态 ok/fail
必填
message
str
接口异常是的返回信息
必填
data
array
state为ok是有返回 是作为查询的返回值 举例如下
必填