feat(info.php): 添加通过umami API获取访问量数据的功能
info.php 文件现在通过开源项目 umami 的 API 获取访问量数据,并支持缓存以提高性能。该功能替代了原有的自定义数据获取逻辑,简化了维护并提高了数据的准确性。
This commit is contained in:
@@ -32,9 +32,14 @@ project/
|
||||
├── index.html # 主页面
|
||||
├── styles.css # 样式文件
|
||||
├── script.js # 核心逻辑
|
||||
├── info.php # 访问量数据接口(需要自己写一个数据获取API)
|
||||
├── info.php # 访问量数据接口(通过开源项目umami的API获取数据)
|
||||
└── images/ # 图片资源目录
|
||||
```
|
||||
## 文件说明
|
||||
```
|
||||
info.php 文件来源开源仓库:https://github.com/zhheo/HeoPVBridge
|
||||
本项目部分灵感来源:https://immmmm.com/hi-umami-api/
|
||||
```
|
||||
|
||||
## 核心配置说明
|
||||
|
||||
|
||||
Reference in New Issue
Block a user