| | |
| | | package com.matrix.system.shopXcx.api.action; |
| | | |
| | | import com.matrix.component.redis.RedisUserLoginUtils; |
| | | import com.matrix.system.common.init.UserCacheManager; |
| | | import com.matrix.core.pojo.AjaxResult; |
| | | import com.matrix.core.pojo.PaginationVO; |
| | | import com.matrix.system.common.interceptor.HostInterceptor; |
| | |
| | | @Autowired |
| | | private ShopCouponDao shopCouponDao; |
| | | @Autowired |
| | | private RedisUserLoginUtils redisUserLoginUtils; |
| | | private UserCacheManager userCacheManager; |
| | | |
| | | /** |
| | | * 获取可以领取的优惠券 |
| | |
| | | * |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "getMyCouponInfoByStatus/{shopId}/{status}") |
| | | @RequestMapping(value = "getMyCouponInfoByStatus/{status}") |
| | | @ResponseBody |
| | | public AjaxResult getMyCouponInfo(@PathVariable("shopId") Long shopId,@PathVariable("status") Integer status, @RequestBody PaginationVO pageVo) { |
| | | public AjaxResult getMyCouponInfo(@PathVariable("status") Integer status, @RequestBody PaginationVO pageVo) { |
| | | |
| | | return shopCouponService.getMyCouponInfoByStatus(shopId,status, pageVo); |
| | | return shopCouponService.getMyCouponInfoByStatus(HostInterceptor.getCompanyId(),status, pageVo); |
| | | } |
| | | |
| | | /** |