mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 21:29:02 +08:00
refactor(common-core): 新增通用配置 common-config , 简化 application配置
大部分情况下 common-config 一旦确定后续不修改,所以不需要写在 application 做一个简化 (cherry picked from commit 56f4b2fb915f3552e83ed4760772b13942ebd4d6)
This commit is contained in:
1 parent
2ece806760
commit
c9d8c6a421
3 files changed
+44
-5
No files matched your search
@@ -22,18 +22,17 @@ file:
|
||||
aj:
|
||||
captcha:
|
||||
water-mark: pig4cloud
|
||||
cache-type: redis
|
||||
|
||||
# 登录报文加密根密钥 ,必须是16位
|
||||
security:
|
||||
# 登录报文加密根密钥 ,必须是16位
|
||||
encodeKey: pigxpigxpigxpigx
|
||||
|
||||
# 配置文件加密根密码
|
||||
jasypt:
|
||||
encryptor:
|
||||
password: pigx
|
||||
algorithm: PBEWithMD5AndDES
|
||||
iv-generator-classname: org.jasypt.iv.NoIvGenerator
|
||||
|
||||
# swagger 配置
|
||||
# swagger token url 配置
|
||||
swagger:
|
||||
token-url: ${swagger.gateway}/admin/oauth2/token
|
||||
|
||||
Reference in new issue
Block a user