没有创建分支修改了

This commit is contained in:
zhangyao 2022-05-17 16:39:37 +08:00
parent 5142e2d668
commit 34761f070a
4 changed files with 18 additions and 11 deletions

View File

@ -1,4 +1,5 @@
# 数据源配置
#测试分支
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
@ -8,7 +9,7 @@ spring:
master:
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: password
password: 123456
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@ -3,6 +3,10 @@ not.null=* 必须填写
user.jcaptcha.error=验证码错误
user.not.exists=用户不存在/密码错误
user.password.not.match=用户不存在/密码错误
#新增
user.account.error = 账号错误
user.password.error =密码错误
#
user.password.retry.limit.count=密码输入错误{0}次
user.password.retry.limit.exceed=密码输入错误{0}次帐户锁定10分钟
user.password.delete=对不起,您的账号已被删除

View File

@ -11,6 +11,7 @@ public class UserNotExistsException extends UserException
public UserNotExistsException()
{
super("user.not.exists", null);
// super("user.not.exists", null);
super("user.account.error", null);
}
}

View File

@ -11,6 +11,7 @@ public class UserPasswordNotMatchException extends UserException
public UserPasswordNotMatchException()
{
super("user.password.not.match", null);
// super("user.password.not.match", null);
super("user.password.error", null);
}
}