<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P ...
分类:
其他好文 时间:
2020-07-16 21:17:34
阅读次数:
74
1 <html lang="en"> 2 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maxim ...
分类:
Web程序 时间:
2020-07-16 18:24:38
阅读次数:
73
1.new JSONObject().toJSONString(rootEntity) 2. JSONObject jsonObject = JSONObject.fromObject(emp);3.String s= JSONArray.fromObject(user).toString(); j ...
分类:
Web程序 时间:
2020-07-16 18:16:37
阅读次数:
103
在连接数据库的url中,加上allowPublicKeyRetrieval=true mysql8.0后url变为了 jdbc:mysql://localhost:3306/user?characterEncoding=utf8&useSSL=false&serverTimezone=UTC&all ...
分类:
数据库 时间:
2020-07-16 18:14:17
阅读次数:
270
扫描目录后发现robots.txt 访问hint.txt 题目提示了一句SQL语句 select * from users where username='$_POST["username"]' and password='$_POST["password"]'; 返回首页,输入admin'/adm ...
分类:
其他好文 时间:
2020-07-16 12:24:20
阅读次数:
74
类 public class jarTs { public static void main(String[] args) throws IOException { String path =System.getProperty("user.dir"); System.out.println("us ...
分类:
编程语言 时间:
2020-07-16 11:49:30
阅读次数:
58
1.先在mysql数据库添加数据 DROP TABLE IF EXISTS `dept`;CREATE TABLE `dept` ( `id` int(11) NOT NULL, `pid` int(11) DEFAULT NULL, `name` varchar(255) CHARACTER SE ...
分类:
数据库 时间:
2020-07-16 11:48:49
阅读次数:
129
给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 你可以假设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 示例: 给定 nums = [2, 7, 11, 15], target = 9 因为 nums[0 ...
分类:
编程语言 时间:
2020-07-16 00:27:46
阅读次数:
93
Deepin 安装 tomcat9 一、安装 sudo apt install tomcat8 tomcat8-user tomcat8-admin tomcat8-docs tomcat8-examples 二、操作 sudo systemctl start tomcat8 # 开启 sudo s ...
分类:
其他好文 时间:
2020-07-16 00:25:35
阅读次数:
133
DRF之JWT补充 1.JWT控制用户登录后才能反问,匿名用户无法访问 class QueryUserView(GenericViewSet, RetrieveModelMixin): """ 查询接口 """ queryset = User.objects.all() serializer_cla ...
分类:
其他好文 时间:
2020-07-16 00:13:27
阅读次数:
71