摘要:
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
阅读全文
posted @ 2021-10-11 15:17
lwl1569
阅读(34)
推荐(0)
摘要:
准备工作: 依赖项:Microsoft.AspNetCore.Authentication.JwtBearer 用于创建Jwt密匙和发布信息,放在appsetting.json中,注入依赖IConfiguration时选择Microsoft.Extensions.Configuration 依赖项:
阅读全文
posted @ 2021-10-11 13:08
lwl1569
阅读(404)
推荐(0)