1
This commit is contained in:
parent
52b14c0152
commit
37da6fb319
@ -72,7 +72,6 @@ def refreshData(row, data_list, data_info):
|
||||
alive_time = safeDiv(row[4], row[7])
|
||||
harm = safeDiv(row[5], row[7])
|
||||
win_times = safeDiv(row[6], row[7])
|
||||
print(row[9])
|
||||
data_list.append((row[0], row[1].decode('utf-8'), row[2], kill, alive_time, harm, win_times, row[6], row[9]))
|
||||
data_list.sort(key=key_info, reverse=True)
|
||||
if (len(data_list) > 50):
|
||||
@ -224,7 +223,7 @@ if __name__ == "__main__":
|
||||
|
||||
app = make_app()
|
||||
app.listen(conf['listen_port'])
|
||||
conf['rushtime'] = 5
|
||||
conf['rushtime'] = 300
|
||||
tornado.ioloop.IOLoop.current().call_later(conf['rushtime'],
|
||||
lambda : readMysqlData(conf['rushtime'])
|
||||
)
|
||||
|
@ -323,7 +323,7 @@ class SignController{
|
||||
}
|
||||
}
|
||||
//刷新战斗结算奖励次数,商店刷新次数,客服, 每日免费金币钻石
|
||||
$battle_ret = $conn->execScript('UPDATE user SET battle_re_times=0, diamond_shop_flush_times=0, shop_flush_times=0, kefu_status=0, free_coin=0, free_diamond=0 modify_time=:modify_time ' .
|
||||
$battle_ret = $conn->execScript('UPDATE user SET battle_re_times=0, diamond_shop_flush_times=0, shop_flush_times=0, kefu_status=0, free_coin=0, free_diamond=0, modify_time=:modify_time ' .
|
||||
' WHERE accountid=:accountid;',
|
||||
array(
|
||||
':accountid' => $account_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user