This commit is contained in:
aozhiwei 2019-07-29 20:19:05 +08:00
parent 877b72170c
commit 07dfe97984

View File

@ -24,7 +24,9 @@ def md5Sign(params, secret, timestamp, connstr = '&', secret_connstr = ':'):
def getDaySeconds(time_val, incdays):
time_zone = 8
return int((time_val + time_zone * 3600)/3600/24 + incdays) * 3600 * 24 - 3600 * time_zone;
dayseconds = int((time_val + time_zone * 3600)/3600/24 + incdays) * 3600 * 24 - 3600 * time_zone;
print(dayseconds)
return dayseconds
def sendNotify(conf, sendtime):
try: