增加接口响应日志

This commit is contained in:
qiaoxinjiu
2026-04-15 15:06:00 +08:00
parent b9f6ca2371
commit dee2d1e739

View File

@@ -29,18 +29,18 @@ RES_CODE = {
40013: 'scene_id不能为空!' 40013: 'scene_id不能为空!'
} }
sparkatp_sql_uri = f'postgresql+psycopg2://postgres:{urlquote("dffa3866-dac8-49b1-a59e-725302bdfa4a")}@124.220.32.45:18366/postgres' sparkatp_sql_uri = f'postgresql+psycopg2://postgres:{urlquote("dffa3866-dac8-49b1-a59e-725302bdfa4a")}@172.18.0.1:18366/postgres'
EXECUTE_DB_CONFIG = { EXECUTE_DB_CONFIG = {
'ZHYY': { 'ZHYY': {
'st': { 'st': {
'host': '124.220.32.45', 'host': '172.18.0.1',
'port': 18666, 'port': 18666,
'user': 'postgres', 'user': 'postgres',
'password': '89c75b17-1738-4b7d-b651-4c65a5a662ab', 'password': '89c75b17-1738-4b7d-b651-4c65a5a662ab',
'database': 'smart_management_st' 'database': 'smart_management_st'
}, },
'dev': { 'dev': {
'host': '124.220.32.45', 'host': '172.18.0.1',
'port': 18566, 'port': 18566,
'user': 'postgres', 'user': 'postgres',
'password': 'f267abd8-7005-472f-8cef-c1738c691c6c', 'password': 'f267abd8-7005-472f-8cef-c1738c691c6c',
@@ -56,7 +56,7 @@ EXECUTE_DB_CONFIG = {
}, },
'DLZ': { 'DLZ': {
'st': { 'st': {
'host': '124.220.32.45', 'host': '172.18.0.1',
'port': 18666, 'port': 18666,
'user': 'joyhub', 'user': 'joyhub',
'password': 'e364be29-6089-4610-97d5-0037a28d0703', 'password': 'e364be29-6089-4610-97d5-0037a28d0703',