Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在单独的路由中添加了用于发送令牌的标头,但我正在尝试的是,在 swagger ui 中的 Authorize 中添加令牌一次,这样我就不必在每个单独的路由的标头中发送令牌。
我尝试添加securityDefinitions,如图所示,但是当我在nodejs服务器中控制台请求对象时,标题选项没有出现。