🐛 Fixing a bug.#2938 刚刚生成的专属版本启动AdminApplication 启动报错

This commit is contained in:
lbw committed 2021-07-10 15:02:34 +08:00
1 parent f7e91ed3db
commit 1feb7272bb
1 file changed
+2
@@ -31,6 +31,7 @@ import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cache.Cache;
import org.springframework.cache.CacheManager;
import org.springframework.context.annotation.Primary;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.AuthorityUtils;
import org.springframework.security.core.userdetails.UserDetails;
@@ -47,6 +48,7 @@ import java.util.Set;
* @author lengleng
*/
@Slf4j
@Primary
@RequiredArgsConstructor
public class PigxUserDetailsServiceImpl implements PigxUserDetailsService {