1
This commit is contained in:
parent
877b72170c
commit
07dfe97984
@ -24,7 +24,9 @@ def md5Sign(params, secret, timestamp, connstr = '&', secret_connstr = ':'):
|
|||||||
|
|
||||||
def getDaySeconds(time_val, incdays):
|
def getDaySeconds(time_val, incdays):
|
||||||
time_zone = 8
|
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):
|
def sendNotify(conf, sendtime):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user