上一页 1 2 3 4 5 6 7 8 ··· 65 下一页
摘要: String zipFileName="压缩包名.zip"; // 设置响应头,告诉浏览器返回的是否是一个文件流 response.setContentType("application/octet-stream"); response.setHeader("Content-Disposition" 阅读全文
posted @ 2023-06-19 15:41 yvioo 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 这个命令可以在我们服务器没有telnet命令的时候使用 nc -vz -w 10 ip 端口 如果没有 有curl命令也可以使用 curl -v telnet://ip:port 阅读全文
posted @ 2023-06-12 15:00 yvioo 阅读(80) 评论(0) 推荐(0) 编辑
摘要: IRuleModel.java /** * 接口类 * @author 。 */ public interface IRuleModel { /** * 执行的方法 * @param paramString * @return */ String execute(String paramString 阅读全文
posted @ 2023-05-15 10:33 yvioo 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 执行sql select pg_terminate_backend(pid) from (select pid from pg_stat_activity where datname = '数据库名称' ) a; 然后再次执行删库就可以了 阅读全文
posted @ 2023-05-15 09:51 yvioo 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 依赖 <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <version>1.11.490</version> </dependency> <dependency> <grou 阅读全文
posted @ 2023-04-24 20:40 yvioo 阅读(2014) 评论(0) 推荐(0) 编辑
摘要: 如果路径含有中划线,将无法取到值 如:$.aa964cf2-bf62-36bd4811.53672-bf62-42906dc.6458b-82c1-3a157e2a 这时候就需要转换下 变成 $['aa964cf2-bf62-36bd4811']['53672-bf62-42906dc']['645 阅读全文
posted @ 2023-04-23 20:16 yvioo 阅读(390) 评论(0) 推荐(0) 编辑
摘要: userList = userList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(()->new TreeSet<>(Comparator.comparing(User::getCity))), Arr 阅读全文
posted @ 2023-04-14 09:57 yvioo 阅读(1142) 评论(0) 推荐(0) 编辑
摘要: 后台bean是 private String uName; 但是前端生成的json是 uname 会自动变成小写 如果我们只是个别的几个的话,只需要加个注解 @JsonProperty("uName") private String uName; 这样就可以了 阅读全文
posted @ 2023-04-13 14:49 yvioo 阅读(408) 评论(0) 推荐(0) 编辑
摘要: {"error":{"root_cause":[{"type":"query_phase_execution_exception","reason":"Result window is too large, from + size must be less than or equal to: [10 阅读全文
posted @ 2023-04-03 10:30 yvioo 阅读(72) 评论(0) 推荐(0) 编辑
摘要: Invocation of init method failed; nested exception is ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, rea 阅读全文
posted @ 2023-04-03 10:22 yvioo 阅读(288) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 65 下一页