fix: 星阙提现改用club库商户号1747846572,禁止回落旧1746545364
优先读 club 表;为空时用正确 mch/api_v3_key;并从 apiclient_cert.pem 自动读序列号。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -39,9 +39,6 @@ def build_authorization(method, url, body, club_id=None):
|
||||
private_key = load_private_key(club_id)
|
||||
mchid = cfg['MCHID']
|
||||
serial_no = (cfg.get('CERT_SERIAL_NO') or '').strip().upper()
|
||||
if not serial_no:
|
||||
from jituan.services.wechat_pay import WX_V3_CERT_SERIAL_NO_OVERRIDE
|
||||
serial_no = WX_V3_CERT_SERIAL_NO_OVERRIDE
|
||||
|
||||
parsed = urlparse(url)
|
||||
path = parsed.path
|
||||
|
||||
Reference in New Issue
Block a user