Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
lei
fzm-joying
Commits
179da1e1
Commit
179da1e1
authored
Feb 24, 2022
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
d2010f1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
NftController.java
...src/main/java/com/fzm/admin/controller/NftController.java
+2
-2
No files found.
joying-admin/src/main/java/com/fzm/admin/controller/NftController.java
View file @
179da1e1
...
...
@@ -64,13 +64,13 @@ public class NftController {
@ApiOperation
(
value
=
"上架"
)
@PostMapping
(
"/onShelf/{id}"
)
public
ResponseModel
onShelf
(
@ApiParam
(
value
=
"nft主键"
)
@PathVariable
Integer
id
)
{
public
ResponseModel
<
Boolean
>
onShelf
(
@ApiParam
(
value
=
"nft主键"
)
@PathVariable
Integer
id
)
{
return
ResponseModel
.
success
(
nftService
.
onShelf
(
id
));
}
@ApiOperation
(
value
=
"下架"
)
@PostMapping
(
"/offShelf/{id}"
)
public
ResponseModel
offShelf
(
@ApiParam
(
value
=
"nft主键"
)
@PathVariable
Integer
id
)
{
public
ResponseModel
<
Boolean
>
offShelf
(
@ApiParam
(
value
=
"nft主键"
)
@PathVariable
Integer
id
)
{
return
ResponseModel
.
success
(
nftService
.
offShelf
(
id
));
}
...
...
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