1
This commit is contained in:
parent
ea0afa13a7
commit
8a460a7361
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user