diff --git a/README.md b/README.md index 2c028db6..6288574b 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,7 @@ - admin/admin123 -演示地址:http://vue.ruoyi.vip -文档地址:http://doc.ruoyi.vip +演示地址: ## 演示图 diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/SwaggerController.java b/ruoyi-common/src/main/java/com/ruoyi/common/SwaggerController.java deleted file mode 100644 index b79c15f4..00000000 --- a/ruoyi-common/src/main/java/com/ruoyi/common/SwaggerController.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.ruoyi.web.controller.tool; - -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.RequestMapping; -import com.ruoyi.common.core.controller.BaseController; - -/** - * swagger 接口 - * - * @author ruoyi - */ -@Controller -@RequestMapping("/tool/swagger") -public class SwaggerController extends BaseController { - @PreAuthorize("@ss.hasPermi('tool:swagger:view')") - @GetMapping() - public String index() { - return redirect("/swagger-ui.html"); - } -} diff --git a/ruoyi-ui/README.md b/ruoyi-ui/README.md index 5b5b5bda..e8e6b340 100644 --- a/ruoyi-ui/README.md +++ b/ruoyi-ui/README.md @@ -2,7 +2,7 @@ ```bash # 克隆项目 -git clone https://gitee.com/y_project/RuoYi-Vue +git clone https://github.com/YunaiV/ruoyi-vue-pro # 进入项目目录 cd ruoyi-ui @@ -27,4 +27,4 @@ npm run build:stage # 构建生产环境 npm run build:prod -``` \ No newline at end of file +``` diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 853fff46..1dd8a7cd 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -33,7 +33,7 @@ ], "repository": { "type": "git", - "url": "https://gitee.com/y_project/RuoYi-Vue.git" + "url": "https://github.com/YunaiV/ruoyi-vue-pro" }, "dependencies": { "@riophae/vue-treeselect": "0.4.0", diff --git a/ruoyi-ui/src/api/monitor/server.js b/ruoyi-ui/src/api/monitor/server.js deleted file mode 100644 index 4991a441..00000000 --- a/ruoyi-ui/src/api/monitor/server.js +++ /dev/null @@ -1,9 +0,0 @@ -import request from '@/utils/request' - -// 查询服务器详细 -export function getServer() { - return request({ - url: '/monitor/server', - method: 'get' - }) -} \ No newline at end of file diff --git a/ruoyi-ui/src/components/RuoYi/Git/index.vue b/ruoyi-ui/src/components/RuoYi/Git/index.vue index 2aab63c1..350fd929 100644 --- a/ruoyi-ui/src/components/RuoYi/Git/index.vue +++ b/ruoyi-ui/src/components/RuoYi/Git/index.vue @@ -6,10 +6,10 @@ \ No newline at end of file + diff --git a/ruoyi-ui/src/views/index_old.vue b/ruoyi-ui/src/views/index_old.vue index 71fb9803..38c0a4e2 100644 --- a/ruoyi-ui/src/views/index_old.vue +++ b/ruoyi-ui/src/views/index_old.vue @@ -55,7 +55,7 @@ size="mini" icon="el-icon-cloudy" plain - @click="goTarget('https://gitee.com/y_project/RuoYi-Vue')" + @click="goTarget('https://gitee.com/zhijiantianya/ruoyi-vue-pro')" >访问码云 -
- - - -
CPU
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
属性
核心数
{{ server.cpu.cpuNum }}
用户使用率
{{ server.cpu.used }}%
系统使用率
{{ server.cpu.sys }}%
当前空闲率
{{ server.cpu.free }}%
-
-
-
- - - -
内存
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
属性
内存
JVM
总内存
{{ server.mem.total }}G
{{ server.jvm.total }}M
已用内存
{{ server.mem.used}}G
{{ server.jvm.used}}M
剩余内存
{{ server.mem.free }}G
{{ server.jvm.free }}M
使用率
{{ server.mem.usage }}%
{{ server.jvm.usage }}%
-
-
-
- - - -
- 服务器信息 -
-
- - - - - - - - - - - - - - - -
服务器名称
{{ server.sys.computerName }}
操作系统
{{ server.sys.osName }}
服务器IP
{{ server.sys.computerIp }}
系统架构
{{ server.sys.osArch }}
-
-
-
- - - -
- Java虚拟机信息 -
-
- - - - - - - - - - - - - - - - - - - - - - - -
Java名称
{{ server.jvm.name }}
Java版本
{{ server.jvm.version }}
启动时间
{{ server.jvm.startTime }}
运行时长
{{ server.jvm.runTime }}
安装路径
{{ server.jvm.home }}
项目路径
{{ server.sys.userDir }}
-
-
-
- - - -
- 磁盘状态 -
-
- - - - - - - - - - - - - - - - - - - - - - - -
盘符路径
文件系统
盘符类型
总大小
可用大小
已用大小
已用百分比
{{ sysFile.dirName }}
{{ sysFile.sysTypeName }}
{{ sysFile.typeName }}
{{ sysFile.total }}
{{ sysFile.free }}
{{ sysFile.used }}
{{ sysFile.usage }}%
-
-
-
-
+
+