接口描述: 获取一个月内每天新客注册统计,同比上个月
参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
---|---|---|---|---|---|
start_time | 字符串 | 可选 | 开始时间 | ||
end_time | 字符串 | 可选 | 结束时间 |
返回字段 | 类型 | 说明 |
---|---|---|
ret | 整型 | 状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误,详情参见错误列表 |
data | 对象/混合类型 | 业务数据,由各自接口指定,通常为对象 |
data.list | 字符串 | |
data.list[].time | 整型 | 时间 |
data.list[].total | 整型 | 注册人数 |
data.list[].monthAgo | 整型 | 上个月注册人数 |
msg | 字符串 | 提示信息,失败时的错误提示 |
参数 | 是否必填 | 值 |
---|---|---|
service | 必须 | |
start_time | 可选 | |
end_time | 可选 |
{
"ret": 200,
"data": [
{
"time": "2019-11-30",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-01",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-02",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-03",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-04",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-05",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-06",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-07",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-08",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-09",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-10",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-11",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-12",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-13",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-14",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-15",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-16",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-17",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-18",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-19",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-20",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-21",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-22",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-23",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-24",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-25",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-26",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-27",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-28",
"total": 0,
"monthAgo": 0
},
{
"time": "2019-12-29",
"total": 1,
"monthAgo": 0
},
{
"time": "2019-12-30",
"total": 0,
"monthAgo": 0
}
],
"msg": ""
}
错误状态码 | 错误描述信息 |
---|---|
400 | ret=400,客户端参数错误或非法请求 |
404 | 表示接口服务不存在 |
406 | ret=406,access_token令牌校验不通过 |
407 | ret=407,app_key权限不足,或未知应用 |
408 | ret=408,当前用户禁止使用,或用户未登录 |
500 | 表示服务端内部错误 |
本文档生成时间:2024-11-23 09:40:14
IYUUPlusCore v2.0.0 (2024-06-20 15:30:39)
PhalApi Pro授权:v1.20 | 让接口开发更有趣!
© 2018-2024 Powered By API.IYUU.CN All Rights Reserved.