| | |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 优惠券信息 |
| | |
| | | /**有效开始时间*/ |
| | | private String startTime; |
| | | /**有效结束时间*/ |
| | | private Date endTime; |
| | | private String endTime; |
| | | /**有效状态(0作废 1有效)*/ |
| | | private Integer validState; |
| | | /**开始时间(展示和领取)*/ |
| | | private Date startShowTime; |
| | | private String startShowTime; |
| | | /**结束时间(展示和领取)*/ |
| | | private Date endShowTime; |
| | | private String endShowTime; |
| | | /**有效天数*/ |
| | | public Integer validDay; |
| | | /**是否展示(0否1是)*/ |
| | |
| | | /**优惠券成本部门*/ |
| | | private String couponCostDepartment; |
| | | /**发行开始时间*/ |
| | | private Date issueStartTime; |
| | | private String issueStartTime; |
| | | /**发行结束时间*/ |
| | | private Date issueEndTime; |
| | | private String issueEndTime; |
| | | /**发行类型(0线上 1线下)*/ |
| | | private Integer issueType; |
| | | /**发行数量*/ |
| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-goods") |
| | | @FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-goods") |
| | | public interface FGoodsService { |
| | | |
| | | @PostMapping(value = "/goods/spec/check") |
| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-order-refund") |
| | | @FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-order-refund") |
| | | public interface FOderRefundService { |
| | | |
| | | @PostMapping(value = "/order/refund/refundAmount") |
| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-order") |
| | | @FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-order") |
| | | public interface FOderService { |
| | | |
| | | /**取消订单*/ |
| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "sms-send") |
| | | @FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "sms-send") |
| | | public interface FSmsSendService { |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-user") |
| | | @FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-user") |
| | | public interface FUserService { |
| | | |
| | | @PostMapping(value = "/user/info") |