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
Eladmin
Commits
d98c1a1d
Commit
d98c1a1d
authored
Jul 06, 2023
by
Zheng Jie
Browse files
Merge branch 'master' into deploy
parents
2d83a6d0
0f3578c9
Changes
4
Hide whitespace changes
Inline
Side-by-side
eladmin-common/pom.xml
View file @
d98c1a1d
...
...
@@ -9,7 +9,7 @@
</parent>
<modelVersion>
4.0.0
</modelVersion>
<properties>
<hutool.version>
5.8.
19
</hutool.version>
<hutool.version>
5.8.
20
</hutool.version>
</properties>
<artifactId>
eladmin-common
</artifactId>
...
...
eladmin-logging/src/main/java/me/zhengjie/service/impl/SysLogServiceImpl.java
View file @
d98c1a1d
...
...
@@ -36,6 +36,7 @@ import org.springframework.stereotype.Service;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.lang.reflect.Method
;
...
...
@@ -112,6 +113,10 @@ public class SysLogServiceImpl implements SysLogService {
List
<
Object
>
argList
=
new
ArrayList
<>();
Parameter
[]
parameters
=
method
.
getParameters
();
for
(
int
i
=
0
;
i
<
parameters
.
length
;
i
++)
{
// 过滤掉不能序列化的类型: MultiPartFile
if
(
args
[
i
]
instanceof
MultipartFile
)
{
continue
;
}
//将RequestBody注解修饰的参数作为请求参数
RequestBody
requestBody
=
parameters
[
i
].
getAnnotation
(
RequestBody
.
class
);
if
(
requestBody
!=
null
)
{
...
...
eladmin-system/pom.xml
View file @
d98c1a1d
...
...
@@ -13,7 +13,7 @@
<name>
核心模块
</name>
<properties>
<jjwt.version>
0.11.
2
</jjwt.version>
<jjwt.version>
0.11.
5
</jjwt.version>
<!-- oshi监控需要指定jna版本, 问题详见 https://github.com/oshi/oshi/issues/1040 -->
<jna.version>
5.8.0
</jna.version>
</properties>
...
...
eladmin-tools/src/main/java/me/zhengjie/rest/QiniuController.java
View file @
d98c1a1d
...
...
@@ -76,7 +76,6 @@ public class QiniuController {
return
new
ResponseEntity
<>(
qiNiuService
.
queryAll
(
criteria
,
pageable
),
HttpStatus
.
OK
);
}
@Log
(
"上传文件"
)
@ApiOperation
(
"上传文件"
)
@PostMapping
public
ResponseEntity
<
Object
>
uploadQiNiu
(
@RequestParam
MultipartFile
file
){
...
...
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