This commit is contained in:
aozhiwei 2020-11-26 15:39:31 +08:00
parent ea0afa13a7
commit 8a460a7361

View File

@ -23,7 +23,7 @@ def httpGet(url, params):
url = url + param
response = urllib.request.urlopen(url=url)
print(url)
print(response)
print(str(response.read()))
def getMailConf(mailid):
mail_conf = json.loads(open(RES_DIR + '/6000@game2005.mail.json', 'r').read())
@ -83,6 +83,10 @@ def fetchEvent():
for row in cursor:
print(row)
last_idx = max(row[0], last_idx)
account_id = row[0]
old_vip_lv = int(row[3])
new_vip_lv = int(row[4])
sendVipLvUpMail(account_id, old_vip_lv, new_vip_lv)
time.sleep(0.001);
else:
break