| | |
| | | import com.hz.his.dto.user.UserLevelDto; |
| | | import com.hz.his.dto.user.card.UserCardDto; |
| | | import com.hz.his.dto.user.card.UserCardUsedDto; |
| | | import com.hz.his.dto.user.coupon.GoodsCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.OrderCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.UserCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.UserCouponDto; |
| | | import com.hz.his.dto.user.money.*; |
| | | import com.hz.his.dto.user.label.UserLabelDto; |
| | | import com.hz.his.dto.user.project.UserPackageDto; |
| | | import com.hz.his.dto.user.project.UserProjectDto; |
| | | import com.hz.his.dto.user.project.UserProjectUsedDto; |
| | | import com.hz.his.dto.user.promotion.UserPromotionUsedDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | |
| | | /** |
| | | * 获取用户促销使用记录 |
| | | * @param orderItemNo 子订单号 |
| | | * */ |
| | | @PostMapping(value = "/user/promotion/used") |
| | | Result userPromotionUsed(@RequestParam("orderItemNo") String orderItemNo); |
| | | Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); |
| | | |
| | | |
| | | /** |
| | |
| | | * */ |
| | | @PostMapping(value = "/user/can/use/coupon") |
| | | Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
| | | |
| | | /** |
| | | * 获取商品可用优惠券 |
| | | * */ |
| | | @PostMapping(value = "/goods/can/use/coupon") |
| | | Result goodsCanUseCoupon(@RequestBody GoodsCanUseCouponDto goodsCanUseCouponDto); |
| | | |
| | | /** |
| | | * 判断订单是否可用该优惠券 |
| | | */ |
| | | @PostMapping(value = "/order/can/use/coupon") |
| | | Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); |
| | | |
| | | |
| | | /** |
| | |
| | | @PostMapping(value = "/user/wait/increment/list") |
| | | Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
| | | |
| | | /** |
| | | * 获取用户颜值规划列表 |
| | | * */ |
| | | @PostMapping(value = "/user/appearance/list") |
| | | Result userAppearanceList(@RequestBody UserDto userDto); |
| | | |
| | | /** |
| | | * 获取用户颜值规划详情 |
| | | * */ |
| | | @PostMapping(value = "/user/appearance/info") |
| | | Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId); |
| | | |
| | | /** |
| | | * 获取人群包列表(可传筛选的参数:会员等级,做过的项目,拥有的标签,会员创建时间,最后一次消费时间,最后一次到店时间) |
| | | * */ |
| | | @PostMapping(value = "/user/package/list") |
| | | Result userPackageList(@RequestBody UserPackageDto userPackageDto); |
| | | |
| | | } |