Browse Source

修改包名为ozs

hexiao 2 years ago
parent
commit
26e816bde0

+ 8 - 0
dc-appshow/.idea/.gitignore

@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Datasource local storage ignored files
+/../../../../../:\workspace\DC-SERVER\dc-appshow\.idea/dataSources/
+/dataSources.local.xml
+# Editor-based HTTP Client requests
+/httpRequests/

+ 11 - 0
dc-appshow/.idea/misc.xml

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="MavenProjectsManager">
+    <option name="originalFiles">
+      <list>
+        <option value="$PROJECT_DIR$/pom.xml" />
+      </list>
+    </option>
+  </component>
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
+</project>

+ 6 - 0
dc-appshow/.idea/vcs.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
+  </component>
+</project>

+ 3 - 3
dc-gateway/src/main/java/com/datau/gateway/GatewayApplication.java

@@ -1,4 +1,4 @@
-package com.datau.gateway;
+package com.ozs.gateway;
 
 import javax.servlet.MultipartConfigElement;
 
@@ -13,7 +13,7 @@ import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
 import org.springframework.cloud.openfeign.EnableFeignClients;
 import org.springframework.context.annotation.Bean;
 
-import com.datau.gateway.filter.AccessFilter;
+import com.ozs.gateway.filter.AccessFilter;
 
 import springfox.documentation.swagger2.annotations.EnableSwagger2;
 
@@ -21,7 +21,7 @@ import springfox.documentation.swagger2.annotations.EnableSwagger2;
 @EnableCaching
 @EnableZuulProxy
 @EnableEurekaClient
-@EnableFeignClients("com.datau.gateway.util")
+@EnableFeignClients("com.ozs.gateway.util")
 @SpringBootApplication
 public class GatewayApplication extends SpringBootServletInitializer {
 

+ 1 - 1
dc-gateway/src/main/java/com/datau/gateway/config/DocumentationConfig.java

@@ -1,4 +1,4 @@
-package com.datau.gateway.config;
+package com.ozs.gateway.config;
 
 import java.util.ArrayList;
 import java.util.List;

+ 3 - 3
dc-gateway/src/main/java/com/datau/gateway/filter/AccessFilter.java

@@ -1,13 +1,13 @@
-package com.datau.gateway.filter;
+package com.ozs.gateway.filter;
 
 import javax.servlet.http.HttpServletRequest;
 
+import com.ozs.gateway.util.AccountService;
+import com.ozs.gateway.util.IPUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 
-import com.datau.gateway.util.AccountService;
-import com.datau.gateway.util.IPUtil;
 import com.netflix.zuul.ZuulFilter;
 import com.netflix.zuul.context.RequestContext;
 import com.netflix.zuul.exception.ZuulException;

+ 1 - 1
dc-gateway/src/main/java/com/datau/gateway/util/AccountService.java

@@ -1,4 +1,4 @@
-package com.datau.gateway.util;
+package com.ozs.gateway.util;
 
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;

+ 1 - 1
dc-gateway/src/main/java/com/datau/gateway/util/IPUtil.java

@@ -1,4 +1,4 @@
-package com.datau.gateway.util;
+package com.ozs.gateway.util;
 
 import javax.servlet.http.HttpServletRequest;
 

+ 1 - 1
dc-gateway/src/main/java/com/datau/gateway/util/JWTTool.java

@@ -1,4 +1,4 @@
-package com.datau.gateway.util;
+package com.ozs.gateway.util;
 
 import java.util.Date;  
 

+ 2 - 2
dc-gateway/src/main/resources/bootstrap.yml

@@ -1,7 +1,7 @@
 server: localhost
-port: 9876
+#port: 9876
 #server: 10.199.10.10
-#port: 9999
+port: 9999
 
 #spring:
 #    cloud:

+ 1 - 1
dc-gateway/src/test/java/com/datau/gateway/GatewayApplicationTests.java

@@ -1,4 +1,4 @@
-package com.datau.gateway;
+package com.ozs.gateway;
 
 import org.junit.Test;
 import org.junit.runner.RunWith;