mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user