Explorar el Código

feature: jar包关闭许可证
1. jar包关闭许可证

fuzq hace 4 años
padre
commit
4254278b5a
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      pom.xml
  2. 1 1
      src/main/assembly/conf/application.yml

+ 1 - 1
pom.xml

@@ -112,7 +112,7 @@
                                     <!--取消依赖包的时间戳-->
                                     <useBaseVersion>true</useBaseVersion>
                                     <!--排除licenseignore包,用来禁用许可开关,防止生产环境通过关闭开关,绕过许可-->
-                                    <excludeArtifactIds>duceap-support-licenseignore</excludeArtifactIds>
+                                   <!-- <excludeArtifactIds>duceap-support-licenseignore</excludeArtifactIds>-->
                                 </configuration>
                             </execution>
                             <execution>

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

@@ -38,7 +38,7 @@ duceap:
     dataCacheMethod: apollo
     #配置用来指定license对接的后端项目地址(格式:ip:port/context,如http://10.10.10.10:8080/ctx),默认使用HttpServletRequest.getLocalAddr()方法获取ip地址,应用在docker部署环境中无法获取机子的真实ip地址 考虑以配置参数的形式传入
     #address: http://10.10.10.10:8080/ctx
-    enabled: true
+    enabled: false
   apollo:
     client:
       host: http://192.168.10.27:8070 #配置中心地址(portal端)