From 2f0c3449080a3ce7308a948455a4b2370c4a4e6e Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 27 四月 2023 19:07:47 +0800 Subject: [PATCH] 分类接口 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java b/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java index 4706e6c..a4931f3 100644 --- a/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java +++ b/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java @@ -1,9 +1,9 @@ package com.hz.crm.feign; import com.hx.resultTool.Result; -import com.hz.crm.dto.OrderRefundDto; +import com.hz.crm.dto.FOrderPageDto; import com.hz.crm.dto.OrderStatusDto; -import com.hz.crm.dto.RefundDto; +import com.hz.crm.dto.order.refund.RefundDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -12,14 +12,27 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-order") +@FeignClient(name="crm-platform-service",path = "/crm-platform",contextId = "crm-order") public interface FOderService { - /*鍙栨秷璁㈠崟*/ + /**鍙栨秷璁㈠崟*/ @PostMapping(value = "/order/cancel") Result cancelOrder( @RequestBody(required = false) OrderStatusDto orderStatusDto); - /*閫�娆�*/ + /**閫�娆� + * + * @param refundDto + * @return refundReturnDto瀹炰綋杞寲 + */ @RequestMapping("/order/refund") Result refundOrder(@RequestBody(required = false) RefundDto refundDto); + + + /**鏌ヨ鍒楄〃 + * + * @param dto dto + * @return refundReturnDto瀹炰綋杞寲 + */ + @RequestMapping("/order/list") + Result list(@RequestBody(required = false) FOrderPageDto dto); } -- Gitblit v1.8.0