无关风月
2024-10-14 b60e601d62c0e2d5c4fd1df9f12fa09f2bf99987
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);
}