Update UmsMemberCouponController.java

This commit is contained in:
macro
2022-01-28 19:24:54 +08:00
parent 0a00398c1e
commit 705ea6b5b9

View File

@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
/** /**
* 用户优惠券管理Controller * 会员优惠券管理Controller
* Created by macro on 2018/8/29. * Created by macro on 2018/8/29.
*/ */
@Controller @Controller
@@ -40,7 +40,7 @@ public class UmsMemberCouponController {
return CommonResult.success(null,"领取成功"); return CommonResult.success(null,"领取成功");
} }
@ApiOperation("获取用户优惠券历史列表") @ApiOperation("获取会员优惠券历史列表")
@ApiImplicitParam(name = "useStatus", value = "优惠券筛选类型:0->未使用1->已使用2->已过期", @ApiImplicitParam(name = "useStatus", value = "优惠券筛选类型:0->未使用1->已使用2->已过期",
allowableValues = "0,1,2", paramType = "query", dataType = "integer") allowableValues = "0,1,2", paramType = "query", dataType = "integer")
@RequestMapping(value = "/listHistory", method = RequestMethod.GET) @RequestMapping(value = "/listHistory", method = RequestMethod.GET)
@@ -50,7 +50,7 @@ public class UmsMemberCouponController {
return CommonResult.success(couponHistoryList); return CommonResult.success(couponHistoryList);
} }
@ApiOperation("获取用户优惠券列表") @ApiOperation("获取会员优惠券列表")
@ApiImplicitParam(name = "useStatus", value = "优惠券筛选类型:0->未使用1->已使用2->已过期", @ApiImplicitParam(name = "useStatus", value = "优惠券筛选类型:0->未使用1->已使用2->已过期",
allowableValues = "0,1,2", paramType = "query", dataType = "integer") allowableValues = "0,1,2", paramType = "query", dataType = "integer")
@RequestMapping(value = "/list", method = RequestMethod.GET) @RequestMapping(value = "/list", method = RequestMethod.GET)