curl --location --request GET '/adminapi/workbench/index'
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"version": {
"version": "1.5.0",
"website": "www.mddai.cn/",
"name": "ChatWork知识库",
"based": "vue3.x、ElementUI、MySQL",
"channel": {
"website": "https://www.likeshop.cn/",
"gitee": "https://gitee.com/likeadmin/likeadmin_php"
},
"pc_url": "https://php-kl.yixiangonline.com/pc/"
},
"today": {
"time": "2023-10-17 15:46:20",
"today_sales": 0.04,
"yesterday_sales": 0.06,
"today_visitor": 1,
"yesterday_visitor": 1,
"today_new_user": 1,
"yesterday_new_user": 0,
"today_order_num": 4,
"yesterday_order_num": 6,
"diff_order_num": -2,
"diff_order_sales": -0.02
},
"wait": {
"application": 14,
"knowledge": 30,
"today_application": 1,
"today_knowledge": 1
},
"menu": [
{
"name": "知识库应用",
"image": "https://php-kl.yixiangonline.com/resource/image/adminapi/default/menu_application.png",
"url": "/robot/application"
},
{
"name": "知识库",
"image": "https://php-kl.yixiangonline.com/resource/image/adminapi/default/menu_knowledge.png",
"url": "/knowledge_base/manage"
},
{
"name": "数据训练",
"image": "https://php-kl.yixiangonline.com/resource/image/adminapi/default/menu_training.png",
"url": "/knowledge_base/training"
},
{
"name": "用户管理",
"image": "https://php-kl.yixiangonline.com/resource/image/adminapi/default/menu_user.png",
"url": "/consumer/lists"
},
{
"name": "公告设置",
"image": "https://php-kl.yixiangonline.com/resource/image/adminapi/default/menu_notice.png",
"url": "/setting/notice"
}
],
"business": {
"date": [
"20231017",
"20231016",
"20231015",
"20231014",
"20231013",
"20231012",
"20231011",
"20231010",
"20231009",
"20231008",
"20231007",
"20231006",
"20231005",
"20231004",
"20231003"
],
"list": [
{
"name": "营业额",
"data": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
}
]
},
"visitor": {
"date": [
"20231017",
"20231016",
"20231015",
"20231014",
"20231013",
"20231012",
"20231011",
"20231010",
"20231009",
"20231008",
"20231007",
"20231006",
"20231005",
"20231004",
"20231003"
],
"list": [
{
"name": "访客数",
"data": [
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
]
}
]
}
}
}