Merge branch 'master' into master-test
| | |
| | | */ |
| | | @Data |
| | | public class OrdersPHisTotalDto { |
| | | |
| | | /**必填 订单分类(OrderTotalConstants),默认标准订单*/ |
| | | private Integer orderClassify; |
| | | /**必填 订单类型(OrderTotalConstants),,crm填默认project,充值就填recharge,纯商品订单填retail零售*/ |
| | | private String type; |
| | | |
| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | |
| | | @FeignClient(name="dcp-rules-service",path = "/dcp-rules",contextId = "userTagInfo") |
| | | public interface SUserTagInfoService { |
| | | |
| | | /** 标签分类树型列表 */ |
| | | @PostMapping("/tag/rule/info/list/tree") |
| | | Result listTreeData(); |
| | | |
| | | /**查询用户标签列表*/ |
| | | @PostMapping("/user/tag/info/list") |
| | | Result userTagInfoListData(@RequestBody UserTagInfoDto userTagInfoDto); |
| | |
| | | import com.hz.his.dto.coupon.CouponDto; |
| | | import com.hz.his.dto.coupon.CouponGoodsDto; |
| | | import com.hz.his.dto.coupon.CouponListDetailDto; |
| | | import com.hz.his.dto.dictionaries.DictionariesDto; |
| | | import com.hz.phis.dt.marketingCoupon.MarketingCouponDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | */ |
| | | @PostMapping(value = "/getCouponNumber") |
| | | Result getCouponNumber(@RequestBody CouponDto couponDto); |
| | | |
| | | /** |
| | | * 查询用户领取营销优惠券数据 |
| | | */ |
| | | @PostMapping(value = "/marketing/data") |
| | | Result marketingData(@RequestBody(required = false) MarketingCouponDto marketingCouponDto); |
| | | } |
New file |
| | |
| | | package com.hz.phis.dt.marketingCoupon; |
| | | |
| | | import com.hz.phis.dt.coupon.CouponAppointDt; |
| | | import lombok.Data; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @ClassName MarketingCouponDto |
| | | * @Description 营销优惠券dto |
| | | * @Author wrh |
| | | * @Date 2023/3/2 10:45 |
| | | * @Version 1.0 |
| | | */ |
| | | @Data |
| | | public class MarketingCouponDto { |
| | | |
| | | //用户标识 |
| | | private String userId; |
| | | /**共用标识*/ |
| | | private String commonId; |
| | | /**优惠券标识*/ |
| | | private String couponId; |
| | | /**无限二维码携带参数*/ |
| | | private String sceneCode; |
| | | } |