2020年2月6日

摘要: 配置文件services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new OpenApiInfo { Version = "v0.1.0",//版本号 Title = "尹大师框架说明,QQ:1390788386",//文档标题 Description = " 阅读全文
posted @ 2020-02-06 23:28 topguntopgun 阅读(720) 评论(0) 推荐(1)
摘要: 1、增加YMNSession,可以获取当前登录的用户信息 2、增加异常处理,不要使用过滤器,过滤器只能获取到mvc异常 3、增加策略授权,策略授权支持用户角色、用户名授权,初步实现 代码地址:https://github.com/topgunymn/YMNNetCoreFrameWork 获取当前登 阅读全文
posted @ 2020-02-06 18:50 topguntopgun 阅读(362) 评论(0) 推荐(0)
摘要: 1、框架增加Identity注册功能 2、框架增加identity登录以后获取JWTtoken 3、请求接口通过token请求,增加验证特性 源代码地址:https://github.com/topgunymn/YMNNetCoreFrameWork JWTtoken生成代码: private st 阅读全文
posted @ 2020-02-06 12:56 topguntopgun 阅读(508) 评论(0) 推荐(0)

导航