接口名称:

获取营收

接口描述:

获取营收

请求路径:

/report/income/getAll

请求方式:

GET

请求参数:

  • Header
参数名 参数值 必填 描述
Content-Type application/x-www-form-urlencoded Y application/x-www-form-urlencoded
  • Param
  • Body

请求示例:

返回参数:

参数名 类型 必选 描述
data IncomeVo N 响应内容
–>todayIncome Integer N 今日营收
–>todayRate String N 今日营收增长比
–>yestodayIncome Integer N 昨日营收
–>yestodayRate String N 昨日营收增长比
–>monthlyIncome Integer N 本月营收
–>monthlyRate String N 本月营收增长比
–>yearIncome Integer N 今年营收
–>yearRate String N 今年营收增长比
code int N 响应码
message String N 响应信息

返回示例:

{
    "data": {
        "todayIncome": 4,
        "todayRate": "-92.00%",
        "yestodayIncome": 52,
        "yestodayRate": "100.00%",
        "monthlyIncome": 286,
        "monthlyRate": "201.00%",
        "yearIncome": 746,
        "yearRate": "100.00%"
    },
    "code": 0,
    "message": "请求成功"
}
文档更新时间: 2023-08-29 17:27   作者:吴温立