修改启动命令 & 启动端口
This commit is contained in:
parent
91afaa6671
commit
64d4905efc
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user