Browse Source

数据上传走通

gushoubang 2 months ago
parent
commit
a82c88da3f

+ 5 - 5
siwei-modules/siwei-spatial/src/main/java/com/siwei/spatial/service/file/impl/SpatialFilesDbServiceImpl.java

@@ -35,11 +35,11 @@ import java.util.*;
 public class SpatialFilesDbServiceImpl implements ISpatialFilesDbService {
     private static final Logger log = LoggerFactory.getLogger(SpatialFilesDbServiceImpl.class);
 
-    /**
-     * 上传文件存储在本地的根路径
-     */
-    @Value("${file.path}")
-    private String localFilePath;
+    // /**
+    //  * 上传文件存储在本地的根路径
+    //  */
+    // @Value("${file.path}")
+    // private String localFilePath;
     /**
      * 入库的坐标系
      */

+ 2 - 2
siwei-modules/siwei-spatial/src/main/resources/bootstrap.yml

@@ -15,14 +15,14 @@ spring:
       discovery:
         # 服务注册地址
         enabled: true
-        namespace: rsmonitoring
+        namespace: one_code
         server-addr: 127.0.0.1:8848
         username: nacos
         password: nacos
       config:
         # 配置中心地址
         enabled: true
-        namespace: rsmonitoring
+        namespace: one_code
         server-addr: 127.0.0.1:8848
         username: nacos
         password: nacos