Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lmp_server
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmp
lmp_server
Commits
44b91781
Commit
44b91781
authored
Apr 08, 2024
by
pengxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改接收参数。
parent
7f447ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
DatasetCleanController.java
.../yice/webadmin/app/controller/DatasetCleanController.java
+2
-2
No files found.
application-webadmin/src/main/java/com/yice/webadmin/app/controller/DatasetCleanController.java
View file @
44b91781
...
@@ -82,7 +82,7 @@ public class DatasetCleanController {
...
@@ -82,7 +82,7 @@ public class DatasetCleanController {
*/
*/
@OperationLog
(
type
=
SysOperationLogType
.
STOP_CLEAN
)
@OperationLog
(
type
=
SysOperationLogType
.
STOP_CLEAN
)
@PostMapping
(
"/stopClean"
)
@PostMapping
(
"/stopClean"
)
public
ResponseResult
<
Void
>
stopClean
(
@Request
Param
Long
cleanId
)
{
public
ResponseResult
<
Void
>
stopClean
(
@Request
Body
Long
cleanId
)
{
if
(
MyCommonUtil
.
existBlankArgument
(
cleanId
))
{
if
(
MyCommonUtil
.
existBlankArgument
(
cleanId
))
{
return
ResponseResult
.
error
(
ErrorCodeEnum
.
ARGUMENT_NULL_EXIST
);
return
ResponseResult
.
error
(
ErrorCodeEnum
.
ARGUMENT_NULL_EXIST
);
}
}
...
@@ -98,7 +98,7 @@ public class DatasetCleanController {
...
@@ -98,7 +98,7 @@ public class DatasetCleanController {
*/
*/
@OperationLog
(
type
=
SysOperationLogType
.
RESTART_CLEAN
)
@OperationLog
(
type
=
SysOperationLogType
.
RESTART_CLEAN
)
@PostMapping
(
"/restartClean"
)
@PostMapping
(
"/restartClean"
)
public
ResponseResult
<
Void
>
restartClean
(
@Request
Param
Long
cleanId
)
{
public
ResponseResult
<
Void
>
restartClean
(
@Request
Body
Long
cleanId
)
{
if
(
MyCommonUtil
.
existBlankArgument
(
cleanId
))
{
if
(
MyCommonUtil
.
existBlankArgument
(
cleanId
))
{
return
ResponseResult
.
error
(
ErrorCodeEnum
.
ARGUMENT_NULL_EXIST
);
return
ResponseResult
.
error
(
ErrorCodeEnum
.
ARGUMENT_NULL_EXIST
);
}
}
...
...
Write
Preview
Markdown
is supported
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