Commit 179da1e1 authored by tangtuo's avatar tangtuo

debug

parent d2010f1b
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment