Halo 为了实现跳转到登录页,采用了response.sendRedirect(adminIndexRedirectUri)来进行页面重定向,其中adminIndexRedirectUri的值为“ /admin/index.html”,是管理主界面。 ...
分类:
编程语言 时间:
2021-06-02 13:13:00
阅读次数:
0
1.js判断一个元素是否在数组中 (1).let arr = [1,2,3]; arr.includes(1) // true arr.includes(5) //false (2).a=["1", "3", "2", "3", "0"]; console.log(a.indexOf ('3')); ...
分类:
编程语言 时间:
2021-06-02 13:04:45
阅读次数:
0
MySQL下载教程请参考:https://www.cnblogs.com/dbbull/p/14815360.html 安装MySQL5.7.26 。创建MySQL虚拟用户useradd -s /sbin/nologin -M mysqlid mysql 。创建目录mkdir -p /server/ ...
分类:
数据库 时间:
2021-06-02 12:20:35
阅读次数:
0
Overthewire level 17 to level 18 进入页面后,让我们去输入一个用户名看它是否存在。这与第15关很相似,但是不同的是这题关闭了回显。显然,关闭了回显后我们还是能有办法知道对应的sql语句到底执行成功还是失败,这有个技巧叫盲注(Blind injection),通过调用s ...
分类:
其他好文 时间:
2021-06-02 12:01:16
阅读次数:
0
git 回滚操作 自己写了代码想要回滚,之前自己的方法太耽误时间了,同事教了一个方法可以快速回滚 第一部分:回滚:点击history-->Version Control-->log 同时选中两个版本--> 2、然后回滚; 第二部分提交区 git 有四个区域,1、编辑区,2、暂存区 3、待提交区 4、 ...
分类:
其他好文 时间:
2021-06-02 11:02:07
阅读次数:
0
特此记录下之前的问题,客户要给门户加集群!节点加上后 1 有点击页面返回登陆页问题: 原因应该是登陆是a节点,再点击下跳到了b节点 所以添加了 改为通过cookie获取token 有的系统也叫sessionid hash $cookie_token。 下面这些好像是获取用户真实ip的 proxy_s ...
分类:
其他好文 时间:
2021-06-02 10:57:40
阅读次数:
0
将 config.index.js 下的 assetsPublicPath 修改为:assetsPublicPath: '/',可以解决问题。 ...
分类:
Web程序 时间:
2021-05-25 18:44:11
阅读次数:
0
1. 代码如下: ($是命令行提示符) $ #目录结构 $ tree . ├── a.py └── impt.py 0 directories, 2 files # impt.py import sys import importlib from importlib.util import Lazy ...
分类:
编程语言 时间:
2021-05-25 18:05:28
阅读次数:
0
Array.prototype.filter filter() 方法创建一个新数组, 其包含通过所提供函数实现的测试的所有元素。 语法 var newArray = arr.filter(callback(element[, index[, array]])[, thisArg]) 参数 callb ...
分类:
Web程序 时间:
2021-05-25 18:03:20
阅读次数:
0
mysql相关 1,存储引擎 2,最左原则于命中规则 index(a,b,c) where a=3 只使用了a where a=3 and b=5 使用了a,b where a=3 and b=5 and c=4 使用了a,b,c where b=3 or where c=4 没有使用索引 wher ...
分类:
其他好文 时间:
2021-05-25 18:02:53
阅读次数:
0