✏️ 修改文档.

This commit is contained in:
lijiahangmax
2025-01-07 00:08:33 +08:00
parent aaf18d79bf
commit 45b3e0746a
2 changed files with 3 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
* 🔗 演示地址: [https://dv.orionsec.cn/](https://dv.orionsec.cn/)
* 🔏 演示账号: admin/admin
* ⭐ 体验后可以点一下 `star`
这对我很重要! [github](https://github.com/dromara/orion-visor) [gitee](https://gitee.com/dromara/orion-visor) [gitcode](https://gitcode.com/dromara/orion-visor/overview)
这对我很重要! [github](https://github.com/dromara/orion-visor) [gitee](https://gitee.com/dromara/orion-visor) [gitcode](https://gitcode.com/dromara/orion-visor)
* 🌈 如果本项目对你有帮助请帮忙推广一下 让更多的人知道此项目!
* 🎭 演示环境部分功能不可用, 完整功能请本地部署!
* 📛 演示环境请不要随便删除数据!

View File

@@ -1,4 +1,5 @@
import axios from 'axios';
import { dateFormat } from '@/utils';
/**
* 系统配置类型
@@ -63,7 +64,7 @@ export function getSystemAppInfo() {
* 获取应用最新版本信息
*/
export function getAppLatestRelease() {
return axios.get<AppReleaseResponse>('https://visor.orionsec.cn/releases-latest.json', {
return axios.get<AppReleaseResponse>(`https://visor.orionsec.cn/releases-latest.json?${dateFormat(new Date(), 'yyyyMMddHH')}`, {
// 不添加请求头 否则会报 401
setAuthorization: false,
// 返回原始输出