RUOYI-geek/ruoyi-admin/src/main/resources/application-auth.yml

30 lines
583 B
YAML
Raw Normal View History

# 请输入自己的appid和appsecret
oauth:
2024-02-14 08:04:30 +00:00
wx:
miniapp:
open: true
appId: appId
appSecret: appSecret
url: https://api.weixin.qq.com/sns/jscode2session
pub:
open: true
appId: appId
appSecret: appSecret
url: https://api.weixin.qq.com/sns/oauth2/access_token
tfa:
2024-02-14 08:04:30 +00:00
phone:
dysms:
# 阿里云短信 AccessKey ID
2024-02-14 08:04:30 +00:00
appId: appId
# 阿里云短信 AccessKey Secret
2024-02-14 08:04:30 +00:00
appSecret: appSecret
spring:
mail:
host: smtp.qq.com
# 邮箱地址
username: email
# 授权码
password: password