Commit 3a3a8e64 authored by hezhen's avatar hezhen

13

parent 0d078b55
...@@ -36,8 +36,8 @@ public class UserCouponController extends ActivityBaseController<UserCouponBiz> ...@@ -36,8 +36,8 @@ public class UserCouponController extends ActivityBaseController<UserCouponBiz>
@ApiOperation("我的优惠卷") @ApiOperation("我的优惠卷")
@RequestMapping(value = "/coupon/list", method = RequestMethod.GET) @RequestMapping(value = "/coupon/list", method = RequestMethod.GET)
public ObjectRestResponse list(@RequestParam(value = "type",defaultValue = "0") Integer type, public ObjectRestResponse list(@RequestParam(value = "type",defaultValue = "0") Integer type,
@RequestParam(value = "channel") Integer channel, @RequestParam(value = "channel",required = false) Integer channel,
@RequestParam(value = "amount",defaultValue = "0.00") BigDecimal amount) { @RequestParam(value = "amount",defaultValue = "0.00") BigDecimal amount) {
AppUserDTO userInfo = getUserInfo(); AppUserDTO userInfo = getUserInfo();
Integer userId = userInfo.getUserid(); Integer userId = userInfo.getUserid();
if(userId==null){ if(userId==null){
......
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