mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-03-04 11:10:45 +08:00
es工具类常用操作方法实现和封装
This commit is contained in:
@@ -52,6 +52,9 @@ mybatis-plus:
|
||||
|
||||
# 参考文章 https://zhuanlan.zhihu.com/p/145359625
|
||||
management:
|
||||
health:
|
||||
elasticsearch: #禁用健康检查
|
||||
enabled: false
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
|
||||
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user