phis-feign/src/main/java/com/hz/his/constant/CouponPlatformConstants.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/coupon/OrderItemCouponDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/dto/user/coupon/UserCanUseCouponDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/constant/CouponPlatformConstants.java
New file @@ -0,0 +1,22 @@ package com.hz.his.constant; /** * 平台常量 * * @Author: wzh * @Date: 2022/08/02 * @Description: */ public class CouponPlatformConstants { //预约 public static String TYPE_PLATFORM_PHIS = "p-his"; //艾心荟 public static String TYPE_PLATFORM_CRM = "crm"; //导医 public static String TYPE_PLATFORM_GUIDE = "guide"; //his助手 public static String TYPE_PLATFORM_HIS = "his"; public static String TYPE_PLATFORM_MA = "marketing_assistant"; /**领建*/ public static String TYPE_PLATFORM_PHISKIN = "PhiSkin"; } phis-feign/src/main/java/com/hz/his/dto/user/coupon/OrderItemCouponDto.java
@@ -12,7 +12,7 @@ @Data public class OrderItemCouponDto { /**商品类型*/ private Integer goodsType; private String goodsType; /**商品标识*/ private String goodsId; /**sku标识*/ phis-feign/src/main/java/com/hz/his/dto/user/coupon/UserCanUseCouponDto.java
@@ -20,6 +20,6 @@ private BigDecimal total; /**满足件数*/ private Integer itemNum; /**商品对应的his标识*/ /**商品crm sku标识*/ private List<HisGoodsDto> hisGoodsDtoList; } phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
@@ -6,6 +6,7 @@ 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.OrderCanUseCouponDto; import com.hz.his.dto.user.coupon.UserCanUseCouponDto; import com.hz.his.dto.user.coupon.UserCouponDto; import com.hz.his.dto.user.money.*; @@ -112,6 +113,12 @@ @PostMapping(value = "/user/can/use/coupon") Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); /** * 判断订单是否可用该优惠券 */ @PostMapping(value = "/order/can/use/coupon") Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); /** * 获取用户增值金列表