浏览代码

wmsh修改

zx 3 年之前
父节点
当前提交
9dbd48f3d8
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      src/main/java/com/steerinfo/dil/controller/WMSHController.java
  2. 1 1
      src/main/resources/bootstrap.yml

+ 3 - 3
src/main/java/com/steerinfo/dil/controller/WMSHController.java

@@ -5,9 +5,7 @@ import com.steerinfo.dil.util.BaseRESTfulController;
 import com.steerinfo.framework.controller.RESTfulResult;
 import com.steerinfo.framework.controller.RESTfulResult;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.*;
 
 
 import java.util.HashMap;
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Map;
@@ -18,6 +16,8 @@ import java.util.Map;
  * @GreateTime:2021/10/12 9:54
  * @GreateTime:2021/10/12 9:54
  * @Version:V2.0
  * @Version:V2.0
  */
  */
+@RestController
+@RequestMapping("${api.version}/wmsh")
 public class WMSHController extends BaseRESTfulController {
 public class WMSHController extends BaseRESTfulController {
 
 
     @Autowired
     @Autowired

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

@@ -44,7 +44,7 @@ openfeign:
     TmsshipFeign:
     TmsshipFeign:
       url: ${TMSSHIPFEIGN_URL:172.16.33.166:8090}
       url: ${TMSSHIPFEIGN_URL:172.16.33.166:8090}
     WMSHFeign:
     WMSHFeign:
-      url: ${WMSHFEIGN_URL:172.16.33.166:8070}
+      url: ${WMSHFEIGN_URL:localhost:8070}
     WMSFeign:
     WMSFeign:
       url: ${WMSFEIGN_URL:172.16.33.166:8093}
       url: ${WMSFEIGN_URL:172.16.33.166:8093}
     OMSFeign:
     OMSFeign: