记得上下班打卡 | git大法好,push需谨慎

Commit 9ef580db authored by 张国柄's avatar 张国柄

修改兑换码校验响应参数;

parent 79b55308
...@@ -154,7 +154,7 @@ public class AdamMemberOrderController { ...@@ -154,7 +154,7 @@ public class AdamMemberOrderController {
} }
@ApiOperationSupport(order = 3) @ApiOperationSupport(order = 3)
@ApiOperation(value = "兑换码校验", notes = "响应参数[code:-1不存在|0未可用|1已使用|2不可用]") @ApiOperation(value = "兑换码校验", notes = "响应参数[`code`:0-当前兑换码可用,否则不可用]")
@GetMapping("check/code") @GetMapping("check/code")
public ResponseDto<Integer> checkMemberCode(@NotBlank @RequestParam String mCode) { public ResponseDto<Integer> checkMemberCode(@NotBlank @RequestParam String mCode) {
AdamMemberCodeVo vo = adamRdmService.getMemberCodeVoByCode(mCode); AdamMemberCodeVo vo = adamRdmService.getMemberCodeVoByCode(mCode);
......
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