Commit 99f9a094 authored by youxiaoji's avatar youxiaoji

+ [增加profile日志输出]

parent c95b5241
......@@ -82,6 +82,9 @@ public class AuthService {
// 检查是否为开发环境,如果是则允许任意密码
boolean isDevEnvironment = Arrays.asList(environment.getActiveProfiles()).contains("dev") ||
Arrays.asList(environment.getDefaultProfiles()).contains("default");
log.info("active profile {}",environment.getActiveProfiles());
log.info("default profile {}",environment.getDefaultProfiles());
if (isDevEnvironment) {
log.info("开发环境: 跳过密码验证");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment