12 lines
438 B
JavaScript
12 lines
438 B
JavaScript
|
import { post, get, upload } from '@/utils/request'
|
||
|
|
||
|
//ES搜索-主页搜索什么都有、指定用户、指定群、群与用户概览
|
||
|
export const ServeSeachQueryAll = (data = {}) => {
|
||
|
return post('/api/v1/elasticsearch/query-all', data)
|
||
|
}
|
||
|
|
||
|
//ES搜索聊天记录-主页搜索什么都有、聊天记录
|
||
|
export const ServeQueryTalkRecord = (data = {}) => {
|
||
|
return post('/api/v1/elasticsearch/query-talk-record', data)
|
||
|
}
|