瀏覽代碼

1.修改org,user,auth,app加入许可

yica 4 年之前
父節點
當前提交
b305e53cd1
共有 3 個文件被更改,包括 9 次插入19 次删除
  1. 1 11
      pom.xml
  2. 4 4
      src/main/assembly/conf/application.yml
  3. 4 4
      src/main/resources/application.yml

+ 1 - 11
pom.xml

@@ -76,17 +76,6 @@
             <groupId>com.dragonsoft</groupId>
             <artifactId>duceap-cloud-starter-config-apollo</artifactId>
         </dependency>
-        <!--许可依赖包-->
-        <dependency>
-            <groupId>com.ctrip.framework.apollo</groupId>
-            <artifactId>apollo-client</artifactId>
-            <version>1.2.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>com.ctrip.framework.apollo</groupId>
-            <artifactId>apollo-openapi</artifactId>
-            <version>1.2.0-SNAPSHOT</version>
-        </dependency>
 
         <dependency>
             <groupId>com.dragonsoft</groupId>
@@ -112,6 +101,7 @@
             <artifactId>duceap-support-license</artifactId>
         </dependency>
 
+        <!--许可依赖包 结束-->
         <dependency>
             <groupId>com.dragoninfo</groupId>
             <artifactId>dcuc-auth-api</artifactId>

+ 4 - 4
src/main/assembly/conf/application.yml

@@ -12,9 +12,9 @@ spring:
       max-file-size: 150MB
       max-request-size: 150MB
 server:
-  port: 8871
+  port: 8861
   servlet:
-    context-path: /dcucauth
+    context-path: /auth
     jsp:
       init-parameters:
         development: true
@@ -31,7 +31,7 @@ duceap:
     #配置用来指定license对接的后端项目地址(格式:ip:port/context,如http://10.10.10.10:8080/ctx),
     #默认使用HttpServletRequest.getLocalAddr()方法获取ip地址,
     #应用在docker部署环境中无法获取机子的真实ip地址 考虑以配置参数的形式传入
-    address: http://127.0.0.1:8871/dcucauth
+    address: http://127.0.0.1:8861/dcucauth
     dataCacheMethod: apollo
   security:
     type: dcuc
@@ -40,7 +40,7 @@ duceap:
       server-name: 10.11.1.151:1646
       ignore-pattern: '/js/*|/img/*|/css/*|/api/*|/*.png|/rest/*|/webSocket/*|/oauthLogin/*|/authorizationPage.html|/importAuthorizationFile.html|/license/LicenseManagerServlet|/authorizationFile/'
       app-code: QXXT0000000000000001
-      api-url: http://10.11.1.151:8871/dcucauth
+      api-url: http://10.11.1.151:8861/8860
   apollo:
     client:
       host: http://10.201.3.20:8070

+ 4 - 4
src/main/resources/application.yml

@@ -12,9 +12,9 @@ spring:
       max-file-size: 150MB
       max-request-size: 150MB
 server:
-  port: 8871
+  port: 8861
   servlet:
-    context-path: /dcucauth
+    context-path: /auth
     jsp:
       init-parameters:
         development: true
@@ -31,7 +31,7 @@ duceap:
     #配置用来指定license对接的后端项目地址(格式:ip:port/context,如http://10.10.10.10:8080/ctx),
     #默认使用HttpServletRequest.getLocalAddr()方法获取ip地址,
     #应用在docker部署环境中无法获取机子的真实ip地址 考虑以配置参数的形式传入
-    address: http://127.0.0.1:8871/dcucauth
+    address: http://127.0.0.1:8861/auth
     enabled: true
   apollo:
     client:
@@ -43,7 +43,7 @@ duceap:
       server-name: 10.11.0.240:1646
       ignore-pattern: '/js/*|/img/*|/css/*|/api/*|/*.png|/rest/*|/webSocket/*|/oauthLogin/*|/authorizationPage.html|/importAuthorizationFile.html|/license/LicenseManagerServlet|/authorizationFile/'
       app-code: QXXT0000000000000001
-      api-url: http://10.11.1.142:8871/dcucauth
+      api-url: http://10.11.1.142:8871/auth
 apollo:
   # 配置中心地址(服务端)
   meta: http://192.168.6.123:8080