From 18cd3598a6abf19dac1a02eb19c9db8edae8cc0c Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期二, 11 七月 2023 16:45:56 +0800 Subject: [PATCH] 华鑫适配 --- third_data/kpl_api.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/third_data/kpl_api.py b/third_data/kpl_api.py index ea86177..2256886 100644 --- a/third_data/kpl_api.py +++ b/third_data/kpl_api.py @@ -23,9 +23,10 @@ raise Exception("璇锋眰鍑洪敊") result = response.text result = json.loads(result) + print(result) if int(result["errcode"]) != 0: return None - return result["ListJX"] + return result["ListJX"] if result["ListJX"] else result["List"] # 鑾峰彇姒傚康浠g爜 def getCodesByPlate(plate_code): -- Gitblit v1.8.0