crm-platform-feign/src/main/java/com/hz/crm/dto/GoodsSkuDto.java
New file @@ -0,0 +1,21 @@ package com.hz.crm.dto; import lombok.Data; /** * 商品sku扩展 * */ @Data public class GoodsSkuDto extends PageDto{ /**编号*/ private String codeNo; /**搜索*/ private String keyWord; /**商品类型*/ private Integer goodsType; /**是否过滤团购商品:1过滤(不返回)团购商品,0返回*/ private Integer isFilterGroup; } crm-platform-feign/src/main/java/com/hz/crm/dto/GoodsSpecDto.java
New file @@ -0,0 +1,30 @@ package com.hz.crm.dto; /** * 商品规格扩展 * @author fwq */ public class GoodsSpecDto { /**操作对象 0:规格,1:规格值*/ private Integer commonType; /**操作对象标识*/ private String commonId; public Integer getCommonType() { return commonType; } public void setCommonType(Integer commonType) { this.commonType = commonType; } public String getCommonId() { return commonId; } public void setCommonId(String commonId) { this.commonId = commonId; } } crm-platform-feign/src/main/java/com/hz/crm/dto/OrderRefundDto.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/dto/OrderRefundDto.java @@ -1,4 +1,4 @@ package com.hz.sms.dto; package com.hz.crm.dto; import lombok.Data; crm-platform-feign/src/main/java/com/hz/crm/dto/PageDto.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/dto/PageDto.java @@ -1,4 +1,4 @@ package com.hz.sms.dto; package com.hz.crm.dto; /** crm-platform-feign/src/main/java/com/hz/crm/dto/SmsSendDto.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/dto/SmsSendDto.java @@ -1,4 +1,4 @@ package com.hz.sms.dto; package com.hz.crm.dto; import lombok.Data; crm-platform-feign/src/main/java/com/hz/crm/dto/UserDto.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/dto/UserDto.java @@ -1,4 +1,4 @@ package com.hz.sms.dto; package com.hz.crm.dto; import lombok.Data; crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsService.javacopy from crm-platform-feign/src/main/java/com/hz/sms/feign/FGoodsSkuService.java copy to crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsService.java
File was copied from crm-platform-feign/src/main/java/com/hz/sms/feign/FGoodsSkuService.java @@ -1,8 +1,7 @@ package com.hz.sms.feign; package com.hz.crm.feign; import com.hx.resultTool.Result; import com.hz.sms.dto.GoodsSkuDto; import com.hz.sms.dto.UserDto; import com.hz.crm.dto.GoodsSkuDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -10,10 +9,10 @@ /** * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 */ @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-goods-sku") public interface FGoodsSkuService { @FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-goods") public interface FGoodsService { @PostMapping(value = "/goods/sku/list") @PostMapping(value = "/goods/spec/check") Result list( @RequestBody(required = false) GoodsSkuDto goodsSkuDto); } crm-platform-feign/src/main/java/com/hz/crm/feign/FGoodsSkuService.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/feign/FGoodsSkuService.java @@ -1,8 +1,7 @@ package com.hz.sms.feign; package com.hz.crm.feign; import com.hx.resultTool.Result; import com.hz.sms.dto.GoodsSkuDto; import com.hz.sms.dto.UserDto; import com.hz.crm.dto.GoodsSkuDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; crm-platform-feign/src/main/java/com/hz/crm/feign/FOderRefundService.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/feign/FOderRefundService.java @@ -1,8 +1,7 @@ package com.hz.sms.feign; package com.hz.crm.feign; import com.hx.resultTool.Result; import com.hz.sms.dto.GoodsSkuDto; import com.hz.sms.dto.OrderRefundDto; import com.hz.crm.dto.OrderRefundDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; crm-platform-feign/src/main/java/com/hz/crm/feign/FSmsSendService.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/feign/FSmsSendService.java @@ -1,7 +1,7 @@ package com.hz.sms.feign; package com.hz.crm.feign; import com.hx.resultTool.Result; import com.hz.sms.dto.SmsSendDto; import com.hz.crm.dto.SmsSendDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; crm-platform-feign/src/main/java/com/hz/crm/feign/FUserService.java
File was renamed from crm-platform-feign/src/main/java/com/hz/sms/feign/FUserService.java @@ -1,8 +1,7 @@ package com.hz.sms.feign; package com.hz.crm.feign; import com.hx.resultTool.Result; import com.hz.sms.dto.SmsSendDto; import com.hz.sms.dto.UserDto; import com.hz.crm.dto.UserDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; crm-platform-feign/src/main/java/com/hz/sms/dto/GoodsSkuDto.java
File was deleted