From b60e601d62c0e2d5c4fd1df9f12fa09f2bf99987 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 14 十月 2024 17:56:48 +0800 Subject: [PATCH] 调试支付 --- xinquan-api/xinquan-api-order/src/main/java/com/xinquan/order/api/feign/RemoteOrderService.java | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/xinquan-api/xinquan-api-order/src/main/java/com/xinquan/order/api/feign/RemoteOrderService.java b/xinquan-api/xinquan-api-order/src/main/java/com/xinquan/order/api/feign/RemoteOrderService.java index 1006727..55254b2 100644 --- a/xinquan-api/xinquan-api-order/src/main/java/com/xinquan/order/api/feign/RemoteOrderService.java +++ b/xinquan-api/xinquan-api-order/src/main/java/com/xinquan/order/api/feign/RemoteOrderService.java @@ -7,9 +7,7 @@ import com.xinquan.order.api.factory.RemoteOrderFallbackFactory; import java.util.List; import org.springframework.cloud.openfeign.FeignClient; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestHeader; -import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.*; /** * @author mitao @@ -22,4 +20,13 @@ R<List<Order>> getOrderListByType(@RequestParam("userId") Long userId, @RequestParam("orderFrom") Integer orderFrom, @RequestHeader(SecurityConstants.FROM_SOURCE) String source); + + @GetMapping("/client/order/order/getCommissionByUserIds/{userIds}") + public R<String> getCommissionByUserIds(@PathVariable("userIds") String userIds); + + @PostMapping("/client/order/order/queryChargeByUserId/{userId}") + public R<String> queryChargeByUserId(@PathVariable("userId") Long userId); + + @PostMapping("/client/order/order/getOrderById/{orderId}") + public R<Order> getOrderById(@PathVariable("orderId") Long orderId); } -- Gitblit v1.7.1