10162 后台优化(优化全服留存、全服LTV显示天逻辑:不在查询范围内的天不显示)
2个文件已修改
15 ■■■■ 已修改文件
serverrep/keeplogin.php 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
serverrep/ltv.php 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
serverrep/keeplogin.php
@@ -73,6 +73,9 @@
            }
            echo "</tr></thead>";
            foreach ($fistLoginReportArray as $firstYMD => $statYMDInfo) {
                if ($firstYMD < $startDate) {
                    continue;
                }
                echo "<tr class='trc'>";
                echo "<td align='center' width='70'>" . $firstYMD . "</td>";
                $firstYMDTime = strtotime($firstYMD);
@@ -122,6 +125,9 @@
            }
            echo "</tr></thead>";
            foreach ($fistPayReportArray as $firstYMD => $statYMDInfo) {
                if ($firstYMD < $startDate) {
                    continue;
                }
                echo "<tr class='trc'>";
                echo "<td align='center' width='70'>" . $firstYMD . "</td>";
                $firstYMDTime = strtotime($firstYMD);
serverrep/ltv.php
@@ -33,9 +33,9 @@
sort($dayList);
sort($dayTotalList);
\Logging\LogInfo("dayList: " . print_r($dayList, true));
\Logging\LogInfo("dayTotalList: " . print_r($dayTotalList, true));
\Logging\LogInfo("maxDay:" . $maxDay);
// \Logging\LogInfo("dayList: " . print_r($dayList, true));
// \Logging\LogInfo("dayTotalList: " . print_r($dayTotalList, true));
// \Logging\LogInfo("maxDay:" . $maxDay);
\Report\GetAccountFirstLoginPayReport($channel, $startDate, $endDate, $fistLoginReportArray, $fistPayReportArray);
// \Logging\LogInfo("dayTotalList: " . print_r($fistLoginReportArray, true));
@@ -93,6 +93,9 @@
            $curYMD = date("Y-m-d");
            $curDate = new DateTime();
            foreach ($fistLoginReportArray as $firstYMD => $statYMDInfo) {
                if ($firstYMD < $startDate) {
                    continue;
                }
                echo "<tr class='trc'>";
                echo "<td align='center' width='70'>" . $firstYMD . "</td>";
                $firstYMDTime = strtotime($firstYMD);