RemoteShipmentService.java
672 Bytes
package com.huaheng.shipment.api;
import com.huaheng.common.core.constant.ServiceNameConstants;
import com.huaheng.common.core.web.domain.AjaxResult;
import com.huaheng.shipment.api.factory.RemoteShipmentFallFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient(contextId = "remoteShipmentService", value = ServiceNameConstants.SHIPMENT_SERVICE, fallbackFactory = RemoteShipmentFallFactory.class)
public interface RemoteShipmentService {
}