From c65bc942b517f48b9758b5fb0fa1681b4f16e549 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期三, 19 十月 2022 17:37:20 +0800 Subject: [PATCH] feign接口 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 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 dbf299c..7f3df17 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,8 +1,8 @@ package com.hz.crm.feign; import com.hx.resultTool.Result; -import com.hz.crm.dto.OrderRefundDto; import com.hz.crm.dto.OrderStatusDto; +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; @@ -14,11 +14,15 @@ @FeignClient(name="crm-platform-service",path = "/crmp",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) OrderStatusDto orderStatusDto); + Result refundOrder(@RequestBody(required = false) RefundDto refundDto); } -- Gitblit v1.8.0