Browse Source

'ESFeign'

HUJIANGUO 4 năm trước cách đây
mục cha
commit
46d1888f65

+ 0 - 2
src/main/java/com/steerinfo/dil/controller/BmsshipStatementController.java

@@ -11,7 +11,6 @@ import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiModelProperty;
 import io.swagger.annotations.ApiOperation;
-import io.swagger.models.auth.In;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -19,7 +18,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 import java.math.BigDecimal;
-import java.text.DecimalFormat;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;

+ 1 - 2
src/main/java/com/steerinfo/dil/feign/ESFeign.java

@@ -6,7 +6,6 @@ import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 
-import java.io.IOException;
 import java.util.List;
 import java.util.Map;
 
@@ -16,7 +15,7 @@ import java.util.Map;
  * @Version 1.0
  */
 
-@FeignClient(value = "DIL-ES-DEV",url = "https://portal-dev.steerinfo.com/icore.icp.web/pass/dil/dil-es-api")
+@FeignClient(value = "DIL-ES-DEV",url = "172.16.33.161:8089/api/v1/es")
 public interface ESFeign {
     @PostMapping("getConResult")
     PageListAdd getConResult(@RequestBody(required = false) Map<String, Object> mapValue,

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -16,7 +16,7 @@ openfeign:
   ESFeign:
     url: ${ESFEIGN_URL:localhost:8099}
   ColumnDataFeign:
-    url: ${COLUMNDATAFEIGN_URL:192.168.0.107:8083}
+    url: ${COLUMNDATAFEIGN_URL:localhost:8083}
 
 #eureka设置
 eureka: