From d32ea4f1ce6dd94c762ba8b63919e051769baa75 Mon Sep 17 00:00:00 2001 From: Chopper Date: Tue, 18 May 2021 14:18:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=95=86=E5=93=81=E7=B4=A2?= =?UTF-8?q?=E5=BC=95=E5=88=9D=E5=A7=8B=E5=8C=96=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/api/index.js | 5 +++++ .../sys/setting-manage/setting/GOODS_SETTING.vue | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/manager/src/api/index.js b/manager/src/api/index.js index 658ad6cd..30be8a95 100644 --- a/manager/src/api/index.js +++ b/manager/src/api/index.js @@ -411,3 +411,8 @@ export const getChildRegion = (id) => { export const resetPassword = (params) => { return postRequest(`/user/resetPassword/${params}"`); }; + +// 初始化商品索引 +export const createIndex = () => { + return getRequest(`/elasticsearch`); +}; diff --git a/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue b/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue index 42359af9..88d59d2c 100644 --- a/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue +++ b/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue @@ -55,14 +55,14 @@
- +