mirror of
https://github.com/wq-h/qinglong.git
synced 2025-12-19 16:25:06 +08:00
更新电信脚本
This commit is contained in:
@@ -79,7 +79,7 @@ jp = {"9":{},"12":{},"13":{},"23":{}}
|
|||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open('电信金豆换话费.log') as fr:
|
with open('telecom_doudou.log') as fr:
|
||||||
dhjl = json.load(fr)
|
dhjl = json.load(fr)
|
||||||
except:
|
except:
|
||||||
dhjl = {}
|
dhjl = {}
|
||||||
@@ -276,7 +276,7 @@ def exchange(phone,s,title,aid, uid):
|
|||||||
send(uid, msg)
|
send(uid, msg)
|
||||||
if phone not in dhjl[yf][title]:
|
if phone not in dhjl[yf][title]:
|
||||||
dhjl[yf][title] += "#"+phone
|
dhjl[yf][title] += "#"+phone
|
||||||
with open('电信金豆换话费.log', 'w') as f:
|
with open('telecom_doudou.log', 'w') as f:
|
||||||
json.dump(dhjl, f, ensure_ascii=False)
|
json.dump(dhjl, f, ensure_ascii=False)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user