From 46b41447cbafec1bb22012b8c8f4dc3a449d1b6d Mon Sep 17 00:00:00 2001 From: wwwwwwwww <526125649@qq.com> Date: Fri, 12 Jun 2026 11:49:43 +0800 Subject: [PATCH] 1 --- video-gen-api/app/services/payment.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/video-gen-api/app/services/payment.py b/video-gen-api/app/services/payment.py index 3bc0cc56..6e8110cc 100644 --- a/video-gen-api/app/services/payment.py +++ b/video-gen-api/app/services/payment.py @@ -26,7 +26,7 @@ from app.utils.id_gen import generate_id, generate_order_no import time as _time logger = logging.getLogger("payment") -logger.setLevel(logging.INFO) +logger.setLevel(logging.DEBUG) _log_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "log", "payment") os.makedirs(_log_dir, exist_ok=True) @@ -412,7 +412,6 @@ def _get_wechat_client( wechatpay_args["public_key_id"] = public_key_id else: logger.info("No platform public key configured, will try to download") - logger.info(f"Initializing WeChat Pay client with args: {wechatpay_args}") _wechat_client = WeChatPay(**wechatpay_args) _wechat_mch_id = mch_id return _wechat_client