BUGFIX: 所有通过邮件注册、登录等的查询,不再区分大小写
This commit is contained in:
@@ -265,7 +265,7 @@ public class MyTaskScheduler {
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}else {
|
||||
}else if (env) {
|
||||
// SendEmailUtil.sendNoExcelEmail("1023316923@qq.com", null);
|
||||
SendEmailUtil.sendNoExcelEmail("calvinwong@aidlab.hk", null);
|
||||
SendEmailUtil.sendNoExcelEmail("kaicpang.pang@connect.polyu.hk", null);
|
||||
|
||||
@@ -49,7 +49,6 @@ public class BusinessException extends RuntimeException {
|
||||
|
||||
private static Locale getUserLocale() {
|
||||
AuthPrincipalVo userInfo = UserContext.getUserHolder();
|
||||
log.info("userinfo: {}", userInfo);
|
||||
if (Objects.isNull(userInfo)) {
|
||||
return new Locale("en");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user