修改启动命令 & 启动端口
This commit is contained in:
parent
91afaa6671
commit
64d4905efc
@ -44,11 +44,13 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
sql = f"""SELECT
|
sql = f"""SELECT
|
||||||
a.method_name,
|
a.method_name,
|
||||||
|
a.method_display,
|
||||||
b.fields,
|
b.fields,
|
||||||
b.comment
|
b.comment
|
||||||
FROM
|
FROM
|
||||||
(SELECT
|
(SELECT
|
||||||
method_name
|
method_name,
|
||||||
|
method_display
|
||||||
FROM
|
FROM
|
||||||
methods
|
methods
|
||||||
WHERE
|
WHERE
|
||||||
@ -69,7 +71,7 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
for line in data:
|
for line in data:
|
||||||
temp = {}
|
temp = {}
|
||||||
try:
|
try:
|
||||||
temp['methods'], temp['fields'], temp['comment'] = line
|
temp['methods'], temp['method_display'],temp['fields'], temp['comment'] = line
|
||||||
output.append(temp)
|
output.append(temp)
|
||||||
except Exception:
|
except Exception:
|
||||||
log.error(f"split {line} error, get data from methods!", exc_info=True)
|
log.error(f"split {line} error, get data from methods!", exc_info=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user