1
This commit is contained in:
parent
0af21b58cf
commit
b07675d2ef
@ -32,7 +32,8 @@ class HashRateShopBuyRecord extends BaseModel
|
||||
);
|
||||
return array_map(function ($row) {
|
||||
$nowDaySeconds = myself()->_getNowDaySeconds();
|
||||
if (!($row['last_buy_time'] >= $nowDaySeconds && $row['last_buy_time'] <= $nowDaySeconds)) {
|
||||
if (!($row['last_buy_time'] >= $nowDaySeconds &&
|
||||
$row['last_buy_time'] <= $nowDaySeconds + 3600 * 24)) {
|
||||
$row['this_day_buy_times'] = 0;
|
||||
}
|
||||
$mondaySeconds = myself()->_getMondaySeconds();
|
||||
|
Loading…
x
Reference in New Issue
Block a user