This commit is contained in:
Mr Chen
2018-11-21 19:27:26 +08:00
parent 0472102a3a
commit 30bc8b1ec1
3 changed files with 14 additions and 31 deletions
+9
View File
@@ -120,4 +120,13 @@ def checkInstalled():
@plugins.route('/setting', methods=["GET"])
def setting():
name = request.args.get('name', '')
html = __plugin_name + '/' + name + '/index.html'
return public.readFile(html)
@plugins.route('/run', methods=['POST'])
def run():
name = request.args.get('name', '')
html = __plugin_name + '/' + name + '/main.html'
return "False"