2020年1月15日

MYSQL LETT/RIGHT/INNER/FUll JOIN 注意事项

摘要: 1、JOIN ON .....AND 这个and是在连表时起到筛选作用,不作为连表后的整体筛选条件,如下: select count(*) from dmp_company_count LEFT JOIN (select * from dmp_data_company where functiona 阅读全文

posted @ 2020-01-15 14:43 滚动的蛋 阅读(236) 评论(0) 推荐(0) 编辑

2020年1月6日

MYSQL 批处理 Packet for query is too large

摘要: 两个解决办法: 1、注意控制每次读写的数据包条数及大小 2、修改配置文件请参考:https://www.jb51.net/article/140790.htm 阅读全文

posted @ 2020-01-06 14:41 滚动的蛋 阅读(167) 评论(0) 推荐(0) 编辑

Junit单元测试不支持多线程

摘要: Junit单元测试不支持多线程 阅读全文

posted @ 2020-01-06 09:45 滚动的蛋 阅读(171) 评论(0) 推荐(0) 编辑

2019年12月24日

postman中 form-data、x-www-form-urlencoded、raw、binary的区别

摘要: 请参考: https://blog.csdn.net/ye1992/article/details/49998511 阅读全文

posted @ 2019-12-24 09:26 滚动的蛋 阅读(1400) 评论(0) 推荐(0) 编辑

2019年12月23日

一个项目中:只能存在一个 WebMvcConfigurationSupport (添加swagger坑)

摘要: 问题再现: 1、添加了swagger配置,导致接口响应的中文乱码 2、于是又添加了配置解决中文乱码的配置: 问题来了,添加了CharsetConfig 配置后swagger的配置失效了,访问404,搞了好久才明白,原因时两个配置都继承了WebMvcConfigurationSupport ,而多个继 阅读全文

posted @ 2019-12-23 10:40 滚动的蛋 阅读(2297) 评论(0) 推荐(0) 编辑

2019年12月19日

Nginx 转发特点URL到指定服务

摘要: location ^~ /fs/ {#如https://xx.com/fs/upload 转发到文件服务器 proxy_pass http://127.0.0.1:8080/fs/; } 阅读全文

posted @ 2019-12-19 20:58 滚动的蛋 阅读(2048) 评论(0) 推荐(0) 编辑

2019年12月17日

nginx反向代理tomcat 时,出现https redirect后变成http的问题解决方法

摘要: 需要修改两个配置 1、nginx配置 location / { proxy_pass http://test-server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header 阅读全文

posted @ 2019-12-17 15:50 滚动的蛋 阅读(2301) 评论(0) 推荐(0) 编辑

2019年12月13日

windows 查看端口占用和杀死进程

摘要: 在windows命令行窗口下执行:C:\>netstat -aon|findstr "3306" 如上图,端口被进程号为5056的进程占用,继续执行下面命令:C:\>taskkill /f /t /im 5056 阅读全文

posted @ 2019-12-13 16:20 滚动的蛋 阅读(292) 评论(0) 推荐(0) 编辑

2019年12月7日

springboot 集成swagger2.x 后静态资源报404

摘要: package com.bgs360.configuration; import org.springframework.context.EnvironmentAware; import org.springframework.context.annotation.Bean; import org. 阅读全文

posted @ 2019-12-07 09:27 滚动的蛋 阅读(2442) 评论(0) 推荐(0) 编辑

2019年12月5日

Nginx 配置https

摘要: 1、准备好网站域名的https证书,后缀名如下,上传到服务器上。 xxx.pem xxx.key 2、配置nginx.conf server { listen 443 ssl; server_name scm.xxx.com; ssl on; ssl_certificate ./cert/cert. 阅读全文

posted @ 2019-12-05 17:41 滚动的蛋 阅读(444) 评论(0) 推荐(0) 编辑

导航