Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
705ea6b5
Commit
705ea6b5
authored
Jan 28, 2022
by
macro
Browse files
Update UmsMemberCouponController.java
parent
0a00398c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/controller/UmsMemberCouponController.java
View file @
705ea6b5
...
@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -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 {
...
@@ -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 {
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment