This commit is contained in:
77
2024-05-25 21:58:26 +08:00
parent 640aa3237e
commit d704b33a7c
3 changed files with 12 additions and 11 deletions

View File

@@ -13,5 +13,6 @@ public class AliSmsProperties {
// private String signName = "武汉康慧创欣科技"; // private String signName = "武汉康慧创欣科技";
private String accessKeyId = "LTAI5tNyNSJWXqBVNamiKfWZ"; private String accessKeyId = "LTAI5tNyNSJWXqBVNamiKfWZ";
private String accessKeySecret = "xyEwLbbpePsG6NUUnKzRPxaXY1wzTo"; private String accessKeySecret = "xyEwLbbpePsG6NUUnKzRPxaXY1wzTo";
private String signName = "深圳市馨曼琳网络科技"; // private String signName = "深圳市馨曼琳网络科技";
private String signName = "恋香";
} }

View File

@@ -3,13 +3,13 @@ package com.ruoyi.cai.enums;
import lombok.Getter; import lombok.Getter;
/** /**
* 以前的 SMS_294195165 * 以前的 SMS_465635333
*/ */
@Getter @Getter
public enum CodeEnum { public enum CodeEnum {
REGISTER("注册短信","SMS_465635333"), REGISTER("注册短信","SMS_467420097"),
RESET_PASSWORD("重置密码","SMS_465635333"), RESET_PASSWORD("重置密码","SMS_467420097"),
RESET_ADOLESCENT("重置青少年模式密码","SMS_465635333"), RESET_ADOLESCENT("重置青少年模式密码","SMS_467420097"),
; ;
private final String name; private final String name;
private final String aliTemplate; private final String aliTemplate;

View File

@@ -32,9 +32,9 @@ spring:
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
url: jdbc:mysql://124.222.254.188:4306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true url: jdbc:mysql://123:4306/cai-v2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: root username: root
password: 383200134 password: 123
# 从库数据源 # 从库数据源
slave: slave:
lazy: true lazy: true
@@ -63,13 +63,13 @@ spring:
spring: spring:
redis: redis:
# 地址 # 地址
host: 124.222.254.188 host: 123
# 端口默认为6379 # 端口默认为6379
port: 9379 port: 9379
# 数据库索引 # 数据库索引
database: 12 database: 12
# 密码(如没有密码请注释掉) # 密码(如没有密码请注释掉)
password: 383200134 password: 123
# 连接超时时间 # 连接超时时间
timeout: 15s timeout: 15s
# 是否开启ssl # 是否开启ssl
@@ -102,9 +102,9 @@ mail:
enabled: false enabled: false
spring: spring:
rabbitmq: rabbitmq:
addresses: 124.222.254.188 #ip地址 addresses: 123 #ip地址
username: admin # 账号 username: admin # 账号
password: 383200134 # 密码 password: 123 # 密码
port: 5672 port: 5672
virtual-host: /cai-dev virtual-host: /cai-dev
agora: agora: