|
|
@@ -39,14 +39,14 @@ public class CardInfoPoolController {
|
|
|
CardInfoPoolService cardInfoPoolService;
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "保存卡片信息", description = "保存卡片信息 新增加编辑")
|
|
|
+ @Operation(summary = "保存卡池卡片信息", description = "保存卡池卡片信息 新增加编辑")
|
|
|
@RequestMapping(value = {"saveCardInfoPool"}, method = {RequestMethod.POST})
|
|
|
public ResultContent saveCardInfoPool(@RequestBody CardInfoPoolParam param) {
|
|
|
return cardInfoPoolService.saveCardInfoPool(param);
|
|
|
}
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "卡片列表-分页查询", description = "卡片列表-分页查询")
|
|
|
+ @Operation(summary = "池卡卡片列表-分页查询", description = "池卡卡片列表-分页查询")
|
|
|
@RequestMapping(value = {"page"}, method = {RequestMethod.POST})
|
|
|
public ResultContent<Page<CardInfoPoolModel>> page(
|
|
|
@Parameter(hidden = true) @PageableDefault(page = 0, size = 10) Pageable pageable,
|
|
|
@@ -55,21 +55,21 @@ public class CardInfoPoolController {
|
|
|
}
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "卡片详情", description = "卡片详情")
|
|
|
+ @Operation(summary = "池卡卡片详情", description = "池卡卡片详情")
|
|
|
@RequestMapping(value = {"getCardInfoPoolDetail"}, method = {RequestMethod.POST})
|
|
|
public ResultContent<CardInfoPoolModel> getCardInfoPoolDetail(@RequestBody IDParam param) {
|
|
|
return cardInfoPoolService.getCardInfoPoolDetail(param.getId());
|
|
|
}
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "恢复卡片", description = "恢复卡片")
|
|
|
+ @Operation(summary = "池卡恢复卡片", description = "池卡恢复卡片")
|
|
|
@RequestMapping(value = {"restoreCardInfoPool"}, method = {RequestMethod.POST})
|
|
|
public ResultContent<CardInfoPoolModel> restoreCardInfoPool(@RequestBody CardInfoPoolRestoreParam param) {
|
|
|
return cardInfoPoolService.restoreCardInfoPool(param);
|
|
|
}
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
- @Operation(summary = "删除卡片", description = "删除卡片")
|
|
|
+ @Operation(summary = "池卡删除卡片", description = "池卡删除卡片")
|
|
|
@RequestMapping(value = {"deleteCardInfoPool"}, method = {RequestMethod.POST})
|
|
|
public ResultContent<CardInfoPoolModel> deleteCardInfoPool(@RequestBody IDParam param) {
|
|
|
return cardInfoPoolService.deleteCardInfoPool(param.getId());
|
|
|
@@ -87,7 +87,7 @@ public class CardInfoPoolController {
|
|
|
return cardInfoPoolService.importCardPool(request, response, file);
|
|
|
}
|
|
|
|
|
|
- @Operation(summary = "搜索卡片", description = "搜索卡片")
|
|
|
+ @Operation(summary = "池卡搜索卡片", description = "池卡搜索卡片")
|
|
|
@RequestMapping(value = {"queryPoolCard"}, method = {RequestMethod.POST})
|
|
|
public ResultContent<List<CardInfoPoolSimpleModel>> queryPoolCard(
|
|
|
@RequestBody @Valid CardInfoPoolQueryParam param) {
|