From d6ba1a59f93e8e7cfa9a903864f76507e880d850 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 5 Aug 2019 23:54:05 +0800 Subject: [PATCH] Update index.py --- plugins/solr/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/solr/index.py b/plugins/solr/index.py index e5b4de252..bfcf1b436 100755 --- a/plugins/solr/index.py +++ b/plugins/solr/index.py @@ -225,8 +225,8 @@ def removeCollection(): retdata = runShell(solr_bin + ' delete -c ' + name) if retdata[1] != "": - return public.returnJson(False, '添加失败!:' + retdata[0]) - return public.returnJson(True, '添加成功!:' + retdata[0]) + return public.returnJson(False, '删除失败!:' + retdata[0]) + return public.returnJson(True, '删除成功!:' + retdata[0]) def confFileCollection():