修改启动命令 & 启动端口

This commit is contained in:
pengtao 2019-08-14 15:41:35 +08:00
parent 91afaa6671
commit 64d4905efc

View File

@ -44,11 +44,13 @@ class DispatchHandler(tornado.web.RequestHandler):
sql = f"""SELECT
a.method_name,
a.method_display,
b.fields,
b.comment
FROM
(SELECT
method_name
method_name,
method_display
FROM
methods
WHERE
@ -69,7 +71,7 @@ class DispatchHandler(tornado.web.RequestHandler):
for line in data:
temp = {}
try:
temp['methods'], temp['fields'], temp['comment'] = line
temp['methods'], temp['method_display'],temp['fields'], temp['comment'] = line
output.append(temp)
except Exception:
log.error(f"split {line} error, get data from methods!", exc_info=True)