springboot本地debug,提示授权

springboot默认是启动了security验证的,只需要在application.ylm里加一句:

security:
basic:
enabled: false

原文地址:https://www.cnblogs.com/vwater/p/9264002.html