1、累计用户添加ad_channel为空的数据 2、新增用户统计脚本
This commit is contained in:
parent
8cf9e6a9d9
commit
65e7ed440a
@ -16,7 +16,9 @@ DB = {'user': 'mytga', 'pswd': 'gzVwh4HGR68G', 'host': '10.10.3.5', 'db': 'games
|
||||
class InitFirstAD():
|
||||
def __init__(self, kwargs):
|
||||
self.end = kwargs.get('time')
|
||||
self.begin=(datetime.datetime.now() - datetime.timedelta(minutes=TimeDelay)).strftime('%Y-%m-%d %H:%M:%S')
|
||||
self.begin = (datetime.datetime.strptime(self.end, '%Y-%m-%d %H:%M:%S') - datetime.timedelta(
|
||||
minutes=TimeDelay)).strftime('%Y-%m-%d %H:%M:%S')
|
||||
print(f"{self.begin},{self.end}")
|
||||
self.gameid = kwargs.get('gameid')
|
||||
self.channelid = kwargs.get('channelid')
|
||||
g = GetTgaConfig()
|
||||
|
Loading…
x
Reference in New Issue
Block a user