文档
测试

查看商户租借统计

POST
http://192.168.0.148:3000/seller/trend

接口描述

查看商户租借统计,主要是按照时间对其进行订单金额、订单数量、订单退款等统计

请求头

参数名
类型
描述
必填
code
string
示例:识别码
必填

请求参数

参数名
类型
描述
必填
id
int
商户id
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
object
数据字典
必填
amount
object
数据字典
必填
today
int
示例:0
必填
yesterday
int
示例:0
必填
week
int
示例:0
必填
lastWeek
int
示例:0
必填
month
int
示例:0
必填
lastMonth
int
示例:0
必填
total
int
示例:0
必填
num
object
数据字典
必填
today
int
示例:0
必填
yesterday
int
示例:0
必填
week
int
示例:0
必填
lastWeek
int
示例:0
必填
month
int
示例:0
必填
lastMonth
int
示例:0
必填
total
int
示例:0
必填
pay_amount
object
数据字典
必填
today
int
示例:0
必填
yesterday
int
示例:0
必填
week
int
示例:0
必填
lastWeek
int
示例:0
必填
month
int
示例:0
必填
lastMonth
int
示例:0
必填
total
int
示例:0
必填
pay_refund
object
数据字典
必填
today
int
示例:0
必填
yesterday
int
示例:0
必填
week
int
示例:0
必填
lastWeek
int
示例:0
必填
month
int
示例:0
必填
lastMonth
int
示例:0
必填
total
int
示例:0
必填
msg
string
示例:
必填

说明 / 示例

{ "code": 1, "data": { "amount": { "today": 0, "yesterday": 0, "week": 0, "lastWeek": 0, "month": 0, "lastMonth": 0, "total": 0 }, "num": { "today": 0, "yesterday": 0, "week": 0, "lastWeek": 0, "month": 0, "lastMonth": 0, "total": 0 }, "pay_amount": { "today": 0, "yesterday": 0, "week": 0, "lastWeek": 0, "month": 0, "lastMonth": 0, "total": 0 }, "pay_refund": { "today": 0, "yesterday": 0, "week": 0, "lastWeek": 0, "month": 0, "lastMonth": 0, "total": 0 } }, "msg": "" }