#标注 sorted()函数默认按ascii排序# coding=utf-8import urllibdict_param={"test":"FFFF","Aadmin":"33FFFHtest","key":"values"}target=sorted(dict_param.items(),key ...
分类:
编程语言 时间:
2020-03-02 20:33:07
阅读次数:
121
前台代码: <button class="btn btn-warning" type="button" onclick="location.href = '/DownExpress/DownExpress2'"> 导出报表 </button> 后台代码: public void DownExpres ...
分类:
其他好文 时间:
2020-02-28 16:06:43
阅读次数:
73
这个工具类知道了已经要压缩的文件的路径,然后需要将这个路径下的文件进行压缩。 /** * 压缩下载照片 * * @param picUrl * @param response * @throws IOException */ public static void downloadPic(List<S ...
分类:
其他好文 时间:
2020-02-20 23:35:27
阅读次数:
79
1、前台:data:"id=1&name=dd", dataType:"json"后台:String id, String name说明:dataType是告诉服务器我需要什么数据类型 2、前台:data:{ids:Array数组,name:字符串}后台:@RequestParam("ids[]") ...
分类:
Web程序 时间:
2020-02-20 15:25:30
阅读次数:
118
对于https网站,使用sqlmap可能会出现如下错误。使用–force-ssl无效。 https证书有问题 方法 本地建立proxy.php,内容为 <?php $url = "https://xxxxx.com/id=2"; $sql = $_GET[s]; $s = urlencode($sq ...
分类:
数据库 时间:
2020-02-12 01:01:05
阅读次数:
187
mitmproxy 配置 源码:https://github.com/mitmproxy/mitmproxy mitmdump q:屏蔽mitmdump默认的控制台日志,只显示自己脚本中的 s:入口脚本文件 p:更改端口,默认为8080 修改脚本文件时,不用重启也会生效 针对 HTTP 生命周期的事 ...
分类:
Web程序 时间:
2020-02-07 14:50:50
阅读次数:
221
axios 基于http客户端的promise,面向浏览器和nodejs 特色 浏览器端发起XMLHttpRequests请求 node端发起http请求 支持Promise API 监听请求和返回 转化请求和返回 取消请求 自动转化json数据 客户端支持抵御 安装 使用npm: npm inst ...
分类:
移动开发 时间:
2020-02-07 12:54:11
阅读次数:
90
使用 express 框架,post 较大数据量(富文本,里面包含了图片base64数据,大约300k)时,node 无响应,把数据内容减少后能顺利提交。 是因为数据量大过body post 的限制导致不能提交。 请通过以下语句修改body post 数据大小限制,使数据能够提交。 var body ...
分类:
其他好文 时间:
2020-02-03 09:31:34
阅读次数:
86
Python爬虫:urllib库的基本使用Python爬虫 请求网址获取网页代码import urllib.request url = "http://www.baidu.com" response = urllib.request.urlopen(url) data = response.read... ...
分类:
编程语言 时间:
2020-01-24 09:31:58
阅读次数:
133
//创建http.js文件,以下是具体代码://引入安装的axios插件 import axios from 'axios' import router from '@/router'; import Vue from 'vue' const qs = require("qs"); let _thi ...
分类:
移动开发 时间:
2020-01-17 13:59:22
阅读次数:
333