Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
a82a3d94
Commit
a82a3d94
authored
Sep 22, 2020
by
RuoYi
Browse files
升级oshi到最新版本v5.2.5
parent
28bceda6
Changes
3
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
a82a3d94
...
...
@@ -25,7 +25,8 @@
<kaptcha.version>
2.3.2
</kaptcha.version>
<pagehelper.boot.version>
1.2.5
</pagehelper.boot.version>
<fastjson.version>
1.2.73
</fastjson.version>
<oshi.version>
3.9.1
</oshi.version>
<oshi.version>
5.2.5
</oshi.version>
<jna.version>
5.5.0
</jna.version>
<commons.io.version>
2.5
</commons.io.version>
<commons.fileupload.version>
1.3.3
</commons.fileupload.version>
<poi.version>
3.17
</poi.version>
...
...
@@ -73,6 +74,16 @@
<artifactId>
oshi-core
</artifactId>
<version>
${oshi.version}
</version>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna
</artifactId>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna-platform
</artifactId>
</dependency>
<!-- swagger2-->
<dependency>
...
...
ruoyi-framework/pom.xml
View file @
a82a3d94
...
...
@@ -53,16 +53,6 @@
<artifactId>
oshi-core
</artifactId>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna
</artifactId>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna-platform
</artifactId>
</dependency>
<!-- 系统模块-->
<dependency>
<groupId>
com.ruoyi
</groupId>
...
...
ruoyi-framework/src/main/java/com/ruoyi/framework/web/domain/Server.java
View file @
a82a3d94
...
...
@@ -189,7 +189,7 @@ public class Server
private
void
setSysFiles
(
OperatingSystem
os
)
{
FileSystem
fileSystem
=
os
.
getFileSystem
();
OSFileStore
[]
fsArray
=
fileSystem
.
getFileStores
();
List
<
OSFileStore
>
fsArray
=
fileSystem
.
getFileStores
();
for
(
OSFileStore
fs
:
fsArray
)
{
long
free
=
fs
.
getUsableSpace
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment