文档
测试

获取指定年份的业绩目标和成交额

GET
https://localhost:44346/api/Statistics/GetSalesTarget?year=2021&startTime=2021-05-01&endTime=2021-06-30&staff=2

接口描述

获取指定年份的业绩目标和成交额

请求头

参数名
类型
描述
必填
Authorization
string
示例:Bearer 8ee3fe4d-73a6-48a5-b142-c3eb8cdc0e8a
必填

请求参数

参数名
类型
描述
必填
year
int
指定年份,示例:2021
必填
startTime
datetime
开始时间,示例:2021-05-01
必填
endTime
datetime
结束时间,示例:2021-06-30
必填
staff
int
指定人员(默认为0),示例:2
可选

响应参数

参数名
类型
描述
必填
Result
boolean
提示成功或者失败,示例:true
必填
saleTarList
array
数据列表
必填
total
decimal
成交额,示例:0
必填
Message
string
失败的时候提示具体的错误信息
可选