控制台的
GET
/api/index/console请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
version
object
必需
today
object
必需
visitor
object
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"version": {
"name": "DNA测评系统",
"version": "v1.0.1",
"website": "www.likeadmin.cn",
"channel": {
"gitee": "https://gitee.com/likeadmin/likeadmin_java",
"website": "https://www.likeadmin.cn"
}
},
"today": {
"todayVisits": 10,
"totalVisits": 100,
"todaySales": 30,
"totalSales": 65,
"todayOrder": 12,
"totalOrder": 255,
"todayUsers": 120,
"totalUsers": 360
},
"visitor": {
"date": [
"2022-07-28",
"2022-07-29",
"2022-07-30",
"2022-07-31",
"2022-08-01",
"2022-08-02",
"2022-08-03",
"2022-08-04",
"2022-08-05",
"2022-08-06",
"2022-08-07",
"2022-08-08",
"2022-08-09",
"2022-08-10",
"2022-08-11"
],
"list": [
12,
13,
11,
5,
8,
22,
14,
9,
456,
62,
78,
12,
18,
22,
46
]
}
}
}
最后修改时间: 2 年前