From d147b61ec621378cebc389f1d72e689007f5722c Mon Sep 17 00:00:00 2001 From: XiaoGe-LiBai <2381919454@qq.com> Date: Sat, 26 Apr 2025 20:59:59 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E7=94=B5=E4=BF=A1=E9=87=91=E8=B1=86?= =?UTF-8?q?=E8=AF=9D=E8=B4=B9=E5=B9=B6=E5=8F=91=E6=9C=AC001.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 电信金豆话费并发本001.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/电信金豆话费并发本001.py b/电信金豆话费并发本001.py index b06e91d..b37f79a 100644 --- a/电信金豆话费并发本001.py +++ b/电信金豆话费并发本001.py @@ -134,7 +134,7 @@ all_goods_cache = {} preloaded_accounts = set() try: - with open('电信金豆换话费.log') as fr: + with open('电信金豆换话费001.log') as fr: dhjl = json.load(fr) except: dhjl = {} @@ -503,7 +503,7 @@ def exchange(phone, s, title, aid, uid, session_id): with dhjl_lock: if phone not in dhjl[yf][title]: dhjl[yf][title] += "#"+phone - with open('电信金豆换话费.log', 'w') as f: + with open('电信金豆换话费001.log', 'w') as f: json.dump(dhjl, f, ensure_ascii=False) else: printn(f'{str(datetime.datetime.now())[11:22]} {phone} {title} 请求失败: {r.get("message", "未知错误")} [会话:{session_id}]') @@ -567,7 +567,7 @@ def exchange(phone, s, title, aid, uid, session_id): with dhjl_lock: if phone not in dhjl[yf][title]: dhjl[yf][title] += "#"+phone - with open('电信金豆换话费.log', 'w') as f: + with open('电信金豆换话费001.log', 'w') as f: json.dump(dhjl, f, ensure_ascii=False) except Exception as retry_e: printn(f'{str(datetime.datetime.now())[11:22]} {phone} {title} 重试也失败: {str(retry_e)} [会话:{session_id}-retry]', important=True)