xiangmu\ app\ src\ main\ resources fileUpload.resources文件 upload.userId = -1 upload.srcSystem = 131452021 upload.token = vfZQIDAQAB upload.businessId ...
分类:
编程语言 时间:
2021-05-24 04:41:09
阅读次数:
0
get 头部header为 'content-type': 'application/json' post 头部 'content-type':"application/x-www-form-urlencoded" ...
分类:
其他好文 时间:
2021-05-24 04:36:32
阅读次数:
0
关于fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include guitao_w 2010-03-18 21:55:00 3791 收藏分类专栏: C/C++ 文章标签: mfc c版权程序出现 ...
分类:
移动开发 时间:
2021-05-24 04:35:30
阅读次数:
0
问题描述: 因为403可能会暴露网站目录结构,现在需要将403状态转成404状态 解决办法: nginx 配置增加以下配置: error_page 403 =404 /404.html; 注:主要看这个"=404"的操作,表示:用户访问产生403时,给用户返回404,内容是404.html。 完。 ...
分类:
其他好文 时间:
2021-05-24 04:26:59
阅读次数:
0
解决mac系统docker启动mysql端口被占用 错误提示 Error response from daemon: Cannot restart container cfcf: driver failed programming external connectivity on endpoint ...
分类:
数据库 时间:
2021-05-24 04:06:32
阅读次数:
0
登录mysql数据库 mysql -u root -p '你的密码' 查看user表 mysql> use mysql; mysql> select Host,User,Password from user; ERROR 1054 (42S22): Unknown column 'Password' ...
分类:
数据库 时间:
2021-05-24 03:47:36
阅读次数:
0
这是因为Library项目中也定义了与主项目相同的属性,就会导致合并失败,比如都默认生成的android:label="@string/app_name" 或者 android:icon="@drawable/icon_logo" 红框中加入冲突的标签就可以解决问题 tools:replace="a ...
分类:
移动开发 时间:
2021-05-24 03:27:53
阅读次数:
0
xss -- 跨站脚本攻击 防御XSS攻击:(1)输入过滤替换(2)输出过滤替换(3)设置httpOnly 锁死 cookie csrf -- 跨站请求伪造 防御CSRF攻击:(1)验证 HTTP Referer 字段(2)在请求地址中添加 token 并验证(3)在 HTTP 头中自定义属性并验证 ...
分类:
其他好文 时间:
2021-05-24 03:21:37
阅读次数:
0
.Netcore 角色授权,就是对 User.Claims的role的属性的判断 {http://schemas.microsoft.com/ws/2008/06/identity/claims/role: President} 在Beraer/JWT 中,token 带着的role 信息,会被解析 ...
分类:
Web程序 时间:
2021-05-24 03:10:55
阅读次数:
0
// 全局路由导航拦截 router.beforeEach((to, from, next) ? { // ... if (to.path '/login') { // 如果是登录页面路径,就直接next() next() } else { // 其他页面路径 let token = session ...
分类:
其他好文 时间:
2021-05-24 02:26:50
阅读次数:
0