Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-tool
Project
Project
Details
Activity
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
张帅
amos-tool
Commits
730bcb9a
Commit
730bcb9a
authored
Jul 26, 2023
by
陈祥烨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://39.98.45.134:8090/tool/amos-tool
into develop
parents
5bcb4b47
4a01f1a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AmosToolTemplateController.java
.../amos/api/tool/controller/AmosToolTemplateController.java
+2
-2
No files found.
src/main/java/com/yeejoin/amos/api/tool/controller/AmosToolTemplateController.java
View file @
730bcb9a
...
...
@@ -58,7 +58,7 @@ public class AmosToolTemplateController {
* 根据ID删除
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
SUPER_ADMIN
,
needAuth
=
false
)
@
Post
Mapping
(
"/delete"
)
@
Delete
Mapping
(
"/delete"
)
@ApiOperation
(
value
=
"删除"
)
public
ResponseModel
<
Boolean
>
deleteById
(
@RequestParam
(
value
=
"templateId"
)
Long
templateId
)
{
return
ResponseHelper
.
buildResponse
(
amosToolTemplateService
.
deleteBySeq
(
templateId
));
...
...
@@ -68,7 +68,7 @@ public class AmosToolTemplateController {
* 根据ID更新
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
SUPER_ADMIN
,
needAuth
=
false
)
@P
os
tMapping
(
"/update"
)
@P
u
tMapping
(
"/update"
)
@ApiOperation
(
value
=
"更新"
)
public
ResponseModel
<
Boolean
>
updateById
(
@RequestParam
(
value
=
"templateId"
)
Long
templateId
)
{
return
ResponseHelper
.
buildResponse
(
amosToolTemplateService
.
updateTimes
(
templateId
));
...
...
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