EreportStartRpc.java 854 Bytes
package com.diligrp.etrade.rpc;

import com.diligrp.etrade.core.domain.Message;
import com.diligrp.etrade.rpc.dto.request.StatOrderSellerRpcCO;
import com.diligrp.etrade.rpc.dto.response.ShopRpcVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "zrereport-start", contextId = "ereportStart")
public interface EreportStartRpc {

    /**
     * 商品返回
     *
     * @param sellerRpcCO
     * @return {@link Message}<{@link List}<{@link ShopRpcVO}>>
     */
    @PostMapping("/api/statistics/order/seller/shopOrder")
    Message<List<ShopRpcVO>> shopOrder(@Validated @RequestBody StatOrderSellerRpcCO sellerRpcCO);
}