| | |
| | | public class ActivityDto extends PageDto { |
| | | /**门店标识 */ |
| | | private String shopId; |
| | | /**团购商品类型标识 */ |
| | | private String typeId; |
| | | /**团购活动标识 */ |
| | | private String groupBuyId; |
| | | |
| | | |
| | | } |
| | |
| | | private String operatorId; |
| | | /**操作人名称*/ |
| | | private String operatorName; |
| | | /**活动标识*/ |
| | | private String groupBuyId; |
| | | /**发送记录*/ |
| | | private CouponRecordDto couponReleaseRecordItem; |
| | | /**用户详情*/ |
| | | private List<UserArrDto> userArr; |
| | | |
| | | |
| | | private List<CouponItemDto> itemDtoList; |
| | | |
| | | /**修改时间*/ |
| | | private String updateTime; |
| | |
| | | private String userId; |
| | | /**标识*/ |
| | | private String commonId; |
| | | /**优惠券标识*/ |
| | | private String couponId; |
| | | |
| | | |
| | | /**总金额*/ |
New file |
| | |
| | | package com.hz.his.dto.coupon; |
| | | |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * @author fwq |
| | | * 发送优惠券dto |
| | | */ |
| | | @Data |
| | | public class CouponItemDto { |
| | | |
| | | /**优惠券标识*/ |
| | | private String couponId; |
| | | |
| | | /**标识父标识字符串逗号分隔*/ |
| | | private Integer num; |
| | | |
| | | } |
| | |
| | | * @return Result |
| | | */ |
| | | @PostMapping(value = "/activity/list") |
| | | Result getActivityList(@RequestParam("userId") String userId,@RequestParam("id") String id,@RequestParam("ordersTotal") BigDecimal ordersTotal); |
| | | Result check(@RequestParam("userId") String userId,@RequestParam("id") String id,@RequestParam("ordersTotal") BigDecimal ordersTotal); |
| | | |
| | | |
| | | |
| | |
| | | @PostMapping(value = "/goods/canUsed/coupon") |
| | | Result goodsCanUsedCoupon(@RequestBody CouponGoodsDto couponGoodsDto); |
| | | |
| | | |
| | | /** |
| | | * 用户是否领取过团购活动优惠券 |
| | | */ |
| | | @PostMapping(value = "/check/group/coupon") |
| | | Result checkGroupCoupon(@RequestBody CouponGoodsDto couponGoodsDto); |
| | | |
| | | |
| | | } |