09 2021 档案
.NET Core使用JWT认证、授权
摘要:1、建.NetCore的WebApi项目,安装包IdentityModel,Microsoft.AspNetCore.Authentication.JwtBearer,Microsoft.AspNetCore.Authorization2、注册服务和中间件 using Microsoft.AspNe
阅读全文
.NET Core记录
摘要:jwt权限认证:https://www.cnblogs.com/danvic712/p/10331976.htmlhttps://blog.csdn.net/weixin_42045719/article/details/91973878http://cn.voidcc.com/question/p
阅读全文
.net core发布到iis
摘要:1、iis新建应用程序池,.NET CLR版本选择 无托管代码,托管管道模式选择 集成。2、新建网站,选择应用程序池,指定发布后文件路径。3、IIS根目录》模块》看看有没有AspNetCoreModuleV2,没有的话需要下载安装。4、.net core下载:https://dotnet.micro
阅读全文
使用SpringSecurity方法授权,连接数据库做权限管理
摘要:SecurityConfig package com.jay.SpringBootStudy8.config; import org.springframework.context.annotation.Bean; import org.springframework.security.config
阅读全文
vue.js使用element-ui 和 el-cascader
摘要:安装:npm i element-ui -S回显:https://blog.csdn.net/weixin_42125732/article/details/118103756import { regionData,CodeToText,TextToCode } from 'element-chin
阅读全文
java之BigDecimal转化和比较
摘要:1、BigDecimal的equals方法不仅仅比较值的大小是否相等,首先比较的是scale(scale是BigDecimal的保留小数点位数,比如 new Bigdecimal(“1.001”),scale为3),也就是说,不但值得大小要相等,保留位数也要相等,equals才能返回true。Big
阅读全文