|
|
@@ -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层的上传
|