|
|
@ -165,10 +165,11 @@ class plugins_api: |
|
|
|
+ " uninstall " + version |
|
|
|
+ " uninstall " + version |
|
|
|
|
|
|
|
|
|
|
|
data = public.execShell(execstr) |
|
|
|
data = public.execShell(execstr) |
|
|
|
if data[1] == '': |
|
|
|
return public.returnJson(True, '卸载执行成功!') |
|
|
|
return public.returnJson(True, '已将卸载成功!') |
|
|
|
# if data[1] == '': |
|
|
|
else: |
|
|
|
# return public.returnJson(True, '已将卸载成功!') |
|
|
|
return public.returnJson(False, '卸载出现错误信息!' + data[1]) |
|
|
|
# else: |
|
|
|
|
|
|
|
# return public.returnJson(False, '卸载出现错误信息!' + data[1]) |
|
|
|
|
|
|
|
|
|
|
|
def checkApi(self): |
|
|
|
def checkApi(self): |
|
|
|
name = request.form.get('name', '') |
|
|
|
name = request.form.get('name', '') |
|
|
|