随笔分类 - 后端
摘要:起因于数据id过大,所以将对应int , Integer都修改为long, 测试过程中发现 Gson toJson时,字段将int为0的数据忽略,但long 没有, 所以 1. 新增适配器 import com.google.gson.TypeAdapter; import com.google.g
阅读全文
摘要:前提:有项目对应的repository文件,RY的DB配置正常(mysql新增schema ry, 执行 /sql下的sql文件,同步调整ruoyi-admin下的application-druid.yml文件中的mysql配置) 源码:git clone https://gitee.com/y_p
阅读全文
摘要:转发 https -> http 网页访问 正常的smiley-http-proxy-servlet 写法, 可以转发https接口到http,http接口到http,http访问转发至http网页, 但是没有办法转发https到http的访问,会提示当前网页已更改地址之类的,总之就是网页无响应,
阅读全文
摘要:原因为: response.sendRedirect(url) url地址写错了
阅读全文
摘要:本来是Postman的Code直接使用的,结果根据这个名字 Unirest,搜出来了很多依赖,使用了排名第一的, https://search.maven.org/search?q=Unirest 结果发现Postman的Code Unirest.setTimeouts(0, 0); 在我使用的依赖
阅读全文