文档
测试

经营总表

POST
http://geli21.com/api/index/shopStat

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
user_token
string
34d10e88f912e23963578216a8d43d0e
必填
start_day
string
示例:2022-08-01
必填
end_day
string
示例:2022-08-01
必填
sort_field
string
示例:sum_subtotal
必填
sort
int
1:升序,2:降序
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
message
string
示例:ok
必填
data
object
数据字典
必填
total_final_price
int
总营收
必填
arrears_all
int
赊欠
必填
total_sale_num
int
销售数量
必填
total_sale_weight
int
销售重量
必填
total_discount_amount
int
优惠
必填
total_pay_subtotal
int
总收款
必填
cash_list
1现金,2微信,3支付宝,4银联,5其他
必填
goods_list
货品统计
必填
sum_unit_number
int
单位 数量
必填
sum_weight
int
重量
必填
unit
string
单位
必填
avg_price
int
均价
必填
sum_subtotal
int
货款
必填