eight
2024-08-09 a74eb9e22711353c1786fe776110617d2f07e4cb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package cn.lihu.jh.module.ecg.feign;
 
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;
 
import javax.annotation.Resource;
 
@FeignClient(name = "remote-data-service", url = "http://127.0.0.1:8080")
public interface RemoteDataService {
    @PostMapping(value="/hai/HttpEntry/", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE)
    public RestApiResult<Object> httpApi( @RequestParam("service") String service,
                                          @RequestParam("urid") String urid,
                                          @RequestParam("pwd") String pwd,
                                          @RequestBody RestApiReqBodyVo bodyVo);
}