소스 검색

fix:yml配置更新

msgroup 10 달 전
부모
커밋
9b8d7a3212
1개의 변경된 파일8개의 추가작업 그리고 9개의 파일을 삭제
  1. 8 9
      src/main/resources/application.yml

+ 8 - 9
src/main/resources/application.yml

@@ -14,18 +14,20 @@ server:
 #  ssl: #https证书配置 配置了之后只能通过https访问应用
 #    key-store: xxx.pfx 证书文件,证书文件格式具体参考证书分发平台
 #    key-store-password:  1234 证书密码
-
-springfox:
-  documentation:
-    enabled: true #启用swagger文档,生产的时候务必关掉 访问地址:http://ip|域名/项目发布名/swagger-ui/
-
 #配置日志
 logging:
   level:
     net.mingsoft: debug
+    springfox.documentation: error
   config: classpath:log4j-spring.xml
 
+springfox:
+  documentation:
+    auto-startup: false #启用swagger功能,false 将不会启用swagger-ui和api-doc 生产的时候务必关掉
+    enabled: false #启用swagger文档(启用时需要swagger功能也开启 auto-startup: true),生产的时候务必关掉 访问地址:http://ip|域名/项目发布名/swagger-ui/
+
 ms:
+  #  mstore-url: http://wtp.i.mingsoft.net
   #scheme: https #解决使用代理服务器代理应用时标签解析域名依旧为http的问题
   xss:
     enable: true #xss过滤器的开关
@@ -39,12 +41,9 @@ ms:
   diy:
     html-dir: html
 
-  swagger:
-    enable: false #启用swagger文档,生产的时候务必关掉 访问地址:http://ip|域名/项目发布名/swagger-ui.html
-
   manager:
     path: /ms #后台访问的路径,如:http://项目/ms/login.do,生产的时候建议修改
-    check-code: true #默认开启验证码验证,false验证码不验证
+    check-code: false #默认开启验证码验证,false验证码不验证
 
   upload:
     enable-web: true  #启用web层的上传