调整feign接口请类型
This commit is contained in:
@@ -4,11 +4,12 @@ import com.wabestway.commons.http.ResObj;
|
||||
import com.wabestway.recall.api.dto.TraceUpDTO;
|
||||
import com.wabestway.recall.api.fallback.TraceFeignClientFallback;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
|
||||
@FeignClient(value = "afis-recall", fallback = TraceFeignClientFallback.class)
|
||||
public interface TraceFeignClient {
|
||||
@PostMapping("/api/traceUp")
|
||||
@RequestMapping(method = RequestMethod.POST, value ="/api/traceUp")
|
||||
ResObj batchTraceUp(@RequestBody TraceUpDTO traceUpDTO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user