🎨 update example.config.yaml
This commit is contained in:
@@ -99,13 +99,13 @@ redis:
|
|||||||
sms:
|
sms:
|
||||||
ali:
|
ali:
|
||||||
# 阿里云API地址
|
# 阿里云API地址
|
||||||
host: http://dysmsapi.aliyuncs.com
|
host: xxxxx
|
||||||
# 阿里云AccessKeyId
|
# 阿里云AccessKeyId
|
||||||
access-key-id: xxxxx
|
access-key-id: xxxxx
|
||||||
# 阿里云AccessKeySecret
|
# 阿里云AccessKeySecret
|
||||||
access-key-secret: xxxxx
|
access-key-secret: xxxxx
|
||||||
# 短信模板ID
|
# 短信模板ID
|
||||||
template-id: SMS_154950909
|
template-id: xxxxxx
|
||||||
# 短信签名
|
# 短信签名
|
||||||
signature: 阿里云短信测试
|
signature: 阿里云短信测试
|
||||||
sms-bao:
|
sms-bao:
|
||||||
@@ -116,7 +116,7 @@ sms:
|
|||||||
# JWT配置
|
# JWT配置
|
||||||
jwt:
|
jwt:
|
||||||
# JWT加密密钥
|
# JWT加密密钥
|
||||||
secret: 52305be97465408891694329b94fd0b5
|
secret: xxxxxx
|
||||||
# JWT请求头键名
|
# JWT请求头键名
|
||||||
header-key: Authorization
|
header-key: Authorization
|
||||||
# JWT请求头前缀
|
# JWT请求头前缀
|
||||||
@@ -126,9 +126,9 @@ jwt:
|
|||||||
# 加密配置
|
# 加密配置
|
||||||
encrypt:
|
encrypt:
|
||||||
# 加密密钥 32位
|
# 加密密钥 32位
|
||||||
key: 38h0ex04du8qqf9ar2knn1quicdsm4s0
|
key: xxxxxxxxxxxxxxxxxxxxxx
|
||||||
# 加密向量 16位
|
# 加密向量 16位
|
||||||
iv: qkwsbzdnzzcekt7g
|
iv: xxxxxxxxxxxxxxx
|
||||||
# 公钥
|
# 公钥
|
||||||
public-key:
|
public-key:
|
||||||
# 私钥
|
# 私钥
|
||||||
@@ -151,7 +151,7 @@ oauth:
|
|||||||
# Github客户端密钥
|
# Github客户端密钥
|
||||||
client-secret: xxxx
|
client-secret: xxxx
|
||||||
# Github回调地址
|
# Github回调地址
|
||||||
redirect-uri: https://landaiqing.cn/api/oauth/github/callback
|
redirect-uri: xxxxxxxxxxxxx
|
||||||
# Gitee配置
|
# Gitee配置
|
||||||
gitee:
|
gitee:
|
||||||
# Gitee客户端ID
|
# Gitee客户端ID
|
||||||
@@ -159,7 +159,7 @@ oauth:
|
|||||||
# Gitee客户端密钥
|
# Gitee客户端密钥
|
||||||
client-secret: xxxx
|
client-secret: xxxx
|
||||||
# Gitee回调地址
|
# Gitee回调地址
|
||||||
redirect-uri: https://landaiqing.cn/api/oauth/gitee/callback
|
redirect-uri: xxxxxxxxxxxx
|
||||||
# QQ配置
|
# QQ配置
|
||||||
qq:
|
qq:
|
||||||
# QQ客户端ID
|
# QQ客户端ID
|
||||||
@@ -167,7 +167,7 @@ oauth:
|
|||||||
# QQ客户端密钥
|
# QQ客户端密钥
|
||||||
client-secret: xxxx
|
client-secret: xxxx
|
||||||
# QQ回调地址
|
# QQ回调地址
|
||||||
redirect-uri: https://landaiqing.cn/api/oauth/qq/callback
|
redirect-uri: xxxxxxxxxxxxxxxxxxxx
|
||||||
casbin:
|
casbin:
|
||||||
# 权限模型文件路径
|
# 权限模型文件路径
|
||||||
model-path: config/rbac_model.conf
|
model-path: config/rbac_model.conf
|
||||||
|
Reference in New Issue
Block a user