add elasticsearch progress

This commit is contained in:
Chopper
2021-08-12 02:17:28 +08:00
parent 02bf570f08
commit 682bd13b6e
2 changed files with 43 additions and 4 deletions

View File

@@ -401,6 +401,11 @@ export const createIndex = () => {
return getRequest(`/elasticsearch`);
};
// 初始化商品索引
export const getProgress = () => {
return getRequest(`/elasticsearch/progress`);
};
// 分页查询自定义分词
export const getCustomWordsPage = (params) => {
return getRequest(`/manager/custom-words`, params);