✏️ 修改文档.
This commit is contained in:
@@ -59,7 +59,7 @@
|
|||||||
* 🔗 演示地址: [https://dv.orionsec.cn/](https://dv.orionsec.cn/)
|
* 🔗 演示地址: [https://dv.orionsec.cn/](https://dv.orionsec.cn/)
|
||||||
* 🔏 演示账号: admin/admin
|
* 🔏 演示账号: admin/admin
|
||||||
* ⭐ 体验后可以点一下 `star`
|
* ⭐ 体验后可以点一下 `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)
|
||||||
* 🌈 如果本项目对你有帮助请帮忙推广一下 让更多的人知道此项目!
|
* 🌈 如果本项目对你有帮助请帮忙推广一下 让更多的人知道此项目!
|
||||||
* 🎭 演示环境部分功能不可用, 完整功能请本地部署!
|
* 🎭 演示环境部分功能不可用, 完整功能请本地部署!
|
||||||
* 📛 演示环境请不要随便删除数据!
|
* 📛 演示环境请不要随便删除数据!
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
import { dateFormat } from '@/utils';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统配置类型
|
* 系统配置类型
|
||||||
@@ -63,7 +64,7 @@ export function getSystemAppInfo() {
|
|||||||
* 获取应用最新版本信息
|
* 获取应用最新版本信息
|
||||||
*/
|
*/
|
||||||
export function getAppLatestRelease() {
|
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
|
// 不添加请求头 否则会报 401
|
||||||
setAuthorization: false,
|
setAuthorization: false,
|
||||||
// 返回原始输出
|
// 返回原始输出
|
||||||
|
|||||||
Reference in New Issue
Block a user