From c58979a90f2e0812fb7afda16c66db4459eb5eff Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期二, 27 九月 2022 14:40:34 +0800 Subject: [PATCH] 优化退款接口 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | 11 +++++++---- 1 files changed, 7 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 4706e6c..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,9 +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.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; @@ -15,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) RefundDto refundDto); } -- Gitblit v1.8.0