|
@@ -115,8 +115,10 @@ public class CardController {
|
|
|
|
|
|
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
@ResourceAuth(value = "user", type = AuthType.User)
|
|
|
@Operation(summary = "code查询卡片详情", description = "code查询卡片详情")
|
|
@Operation(summary = "code查询卡片详情", description = "code查询卡片详情")
|
|
|
- @RequestMapping(value = {"getCardDetailByCode"}, method = {RequestMethod.POST})
|
|
|
|
|
- public ResultContent<CardInfoSimpleModel> getCardDetailByCode(@RequestParam(name = "code") String code) {
|
|
|
|
|
|
|
+ @RequestMapping(value = {"getCardDetailByCode"}, method = {RequestMethod.GET})
|
|
|
|
|
+ public ResultContent<CardInfoSimpleModel> getCardDetailByCode(
|
|
|
|
|
+ @Parameter(name = "code", description = "code", required = true)
|
|
|
|
|
+ @RequestParam(name = "code") String code) {
|
|
|
return cardInfoService.getCardDetailByCode(code);
|
|
return cardInfoService.getCardDetailByCode(code);
|
|
|
}
|
|
}
|
|
|
|
|
|