上一页 1 2 3 4 5 6 7 ··· 35 下一页
摘要: Base64 转码btoa():任意值转为 Base64 编码atob():Base64 编码转为原来的值 function b64Encode(str) { return btoa(encodeURIComponent(str)); } function b64Decode(str) { retu 阅读全文
posted @ 2024-01-10 16:24 翠微 阅读(240) 评论(0) 推荐(0) 编辑
摘要: URL编码 https://www.iamwawa.cn/urldecode.html 空格 %20 或 + :冒号 %3A /斜杠 %2F RFC3986 协议对 URL 的编解码问题做出了详细的建议,指出了哪些字符需要被编码才不会引起 URL 语义的转变,以及对为什么这些字符需要编码做出了相应的 阅读全文
posted @ 2024-01-10 15:09 翠微 阅读(38) 评论(0) 推荐(0) 编辑
摘要: REST API Java Client BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder.must(QueryBuilders.termQuery("enable", 1)); final 阅读全文
posted @ 2024-01-03 11:35 翠微 阅读(86) 评论(0) 推荐(0) 编辑
摘要: 【OpenGauss】CentOS安装 1、关闭防火墙 修改 vim /etc/selinux/config SELINUX=disabled # 禁止自动启动 systemctl disable firewalld.service # 停止防火请 systemctl stop firewalld. 阅读全文
posted @ 2023-11-28 15:59 翠微 阅读(166) 评论(0) 推荐(0) 编辑
摘要: # Disabling symbolic-links is recommended to prevent assorted security risks #symbolic-links=0 # Settings user and group are ignored when systemd is u 阅读全文
posted @ 2023-11-22 10:34 翠微 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 【CentOS7】安装ffmpeg 编译器 yum -y install gcc cc cl 下载解压yasm cd /ycx wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar -zxvf yasm-1. 阅读全文
posted @ 2023-11-22 10:30 翠微 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 文档删除 1、单个删除文档 REST API DELETE myindex/_doc/1 Java REST Client 2、批量删除文档 REST API POST myindex/_delete_by_query { "query": { "bool": { "must": [ { "term 阅读全文
posted @ 2023-11-11 10:46 翠微 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 文档更新 1、单个 2、批量 阅读全文
posted @ 2023-11-11 10:45 翠微 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 创建空索引 PUT myindex { "settings": { "number_of_shards": 1, "number_of_replicas": 1 }, "mappings": { "properties": { "name": { "type": "keyword", "ignore 阅读全文
posted @ 2023-11-11 10:44 翠微 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 对象 @ConfigurationProperties(prefix = "system-upload-prefix") @Configuration @RefreshScope @Data public class SystemUploadPrefix { private String uploa 阅读全文
posted @ 2023-11-09 18:33 翠微 阅读(59) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 35 下一页
点击右上角即可分享
微信分享提示