es工具类常用操作方法实现和封装

This commit is contained in:
xiongf
2024-12-11 17:33:28 +08:00
parent b1010828c5
commit 00f70607f5
10 changed files with 480 additions and 111 deletions

View File

@@ -52,6 +52,9 @@ mybatis-plus:
# 参考文章 https://zhuanlan.zhihu.com/p/145359625
management:
health:
elasticsearch: #禁用健康检查
enabled: false
endpoints:
web:
exposure:

View File

@@ -54,7 +54,7 @@
var json = JSON.stringify(data);
var cipher = this.encryptByPublicKey(json);
console.log("密文 " + cipher);
var url = "http://117.72.35.70:8089/user/login";
var url = "http://localhost:8089/user/login";
axios.post(url, {
encryptedData: cipher,
})