摘要: 1. 添加程序包 System.IdentityModel.Tokens.Jwt Microsoft.AspNetCore.Authentication.JwtBearer 2.添加类文件 JwtHelp public class JwtHelp { //发起人:当前项目 private stati 阅读全文
posted @ 2022-06-21 22:10 红中0920 阅读(311) 评论(0) 推荐(0)
摘要: 1.在appsettings.json中添加数据 1 { 2 "Logging": { 3 "LogLevel": { 4 "Default": "Information", 5 "Microsoft.AspNetCore": "Warning" 6 } 7 }, 8 "AllowedHosts": 阅读全文
posted @ 2022-06-21 20:58 红中0920 阅读(135) 评论(0) 推荐(0)