This commit is contained in:
aozhiwei 2020-05-11 21:19:13 +08:00
parent d0acb0e9e9
commit 9997b30cd4

View File

@ -199,7 +199,7 @@ class RoleController{
}
$nowTime = phpcommon\getdayseconds(time());
$daily_first_login = $row['daily_first_login'];
if ($row['daily_time'] == 0 || ($nowTime - phpcommon\getdayseconds($row['daily_time']) > 0)) {
if ($row['update_time'] == 0 || ($nowTime - phpcommon\getdayseconds($row['update_time']) > 0)) {
$ret = $conn->execScript('UPDATE user SET daily_first_login=0, ' .
'modify_time=:modify_time WHERE accountid=:accountid;',
array(