This commit is contained in:
2026-06-12 09:08:45 +08:00
parent 3ebb30be76
commit f8b715333c
+1
View File
@@ -375,6 +375,7 @@ def _get_wechat_client(
return None return None
try: try:
import os
# 创建并确保微信支付证书目录存在 # 创建并确保微信支付证书目录存在
wechat_cert_dir = os.path.abspath(os.path.join( wechat_cert_dir = os.path.abspath(os.path.join(
os.path.dirname(os.path.dirname(__file__)), os.path.dirname(os.path.dirname(__file__)),