摘要: 通过临时表创建索引用 空间换时间避免频繁读取原表信息 /*正常写法*/ DELETE from activity where id not in ( SELECT id from activity_data); /*优化后写法*/ DELETE from activity where id not 阅读全文
posted @ 2020-08-31 16:44 小尼 阅读(2745) 评论(0) 推荐(0) 编辑
摘要: 解决乱码问题response.setHeader("Content-Type","image/JPG"); QrCodeController package com.lw.project.wx.controller; import com.lw.common.utils.QRCodeUtil; im 阅读全文
posted @ 2020-07-14 11:12 小尼 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 添加一个remote,设置远程host地址和端口,把jvm参数在启动jar是加入。 启动remote 阅读全文
posted @ 2020-07-07 12:23 小尼 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.开启服务器443端口(云服务器还需要加入安全策略)。 2.修改nginx配置文件 #http访问server server { listen 80; server_name localhost; #charset koi8-r; #access_log /var/log/nginx/host.a 阅读全文
posted @ 2020-05-08 11:59 小尼 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-31 10:11 小尼 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 第一步查看本机: 设置如下: 然后登录linux虚拟机配置ip: ip addr 查看网卡 cd /etc/sysconfig/network-scripts/ vim ifcfg-ens32修改如下内容 虚拟机静态ip:IPADDR=192.168.17.131网关(与上面主机查看到的vm8的ip 阅读全文
posted @ 2020-03-08 09:36 小尼 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 增加一个请求头管理器,添加content-type:application/json。并将请求修改为json数据传输试试。 参考:https://zhidao.baidu.com/question/1644957725975214740.html 阅读全文
posted @ 2020-02-12 11:54 小尼 阅读(16183) 评论(0) 推荐(1) 编辑
摘要: 1.打开Dns检测|Dns查询 - 站长工具: http://tool.chinaz.com/dns?type=1&host=github.com&ip= 2.在检测输入栏中输入http://github.com官网 3.把检测列表里的TTL值最小的IP输入到hosts里,并对应写上github官网 阅读全文
posted @ 2019-12-31 22:35 小尼 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: 开启防火墙mysql 3306端口的外部访问(如果防火墙开启状态): 1 firewall-cmd --zone=public --add-port=3306/tcp --permanent 2 firewall-cmd --reload 阅读全文
posted @ 2019-11-26 10:00 小尼 阅读(381) 评论(0) 推荐(0) 编辑
摘要: application.properties中文乱码问题 阅读全文
posted @ 2019-06-26 15:01 小尼 阅读(526) 评论(0) 推荐(0) 编辑