no message
This commit is contained in:
parent
fafd1fe721
commit
c3fe921e78
@ -213,14 +213,14 @@ final class Cron
|
|||||||
// 确保时间比较的正确性
|
// 确保时间比较的正确性
|
||||||
if (isset($oUser->reg_date) && ($row['update_time'] - strtotime($oUser->reg_date)) < (86400 * 30)) {
|
if (isset($oUser->reg_date) && ($row['update_time'] - strtotime($oUser->reg_date)) < (86400 * 30)) {
|
||||||
$aUserMix[$sFrom]['pay_count_new']++;
|
$aUserMix[$sFrom]['pay_count_new']++;
|
||||||
$aUserMix[$sFrom]['money_count_new'] += $row["price"];
|
$aUserMix[$sFrom]['money_count_new'] += $row["user_price"];
|
||||||
} else {
|
} else {
|
||||||
$aUserMix[$sFrom]['pay_count_old']++;
|
$aUserMix[$sFrom]['pay_count_old']++;
|
||||||
$aUserMix[$sFrom]['money_count_old'] += $row["price"];
|
$aUserMix[$sFrom]['money_count_old'] += $row["user_price"];
|
||||||
}
|
}
|
||||||
|
|
||||||
$aUserMix[$sFrom]['pay_count']++;
|
$aUserMix[$sFrom]['pay_count']++;
|
||||||
$aUserMix[$sFrom]['money_count'] += $row["price"];
|
$aUserMix[$sFrom]['money_count'] += $row["user_price"];
|
||||||
}
|
}
|
||||||
|
|
||||||
$aAllMix = array_merge($aVisitorMix, $aRegMix, $aUserMix);
|
$aAllMix = array_merge($aVisitorMix, $aRegMix, $aUserMix);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user