hxp
2024-11-29 50dd27fc21d22e64d53f30f2f6dee7a9875ddb87
10162 后台优化(全服ltv报表优化:未到的天不显示ltv)
1个文件已修改
3 ■■■■ 已修改文件
serverrep/ltv.php 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
serverrep/ltv.php
@@ -90,6 +90,7 @@
            echo "<th align='center' width='70'>总LTV(天)</th>";
            echo "<th align='center' width='70'>总充值</th>";
            echo "</tr></thead>";
            $curYMD = date("Y-m-d");
            $curDate = new DateTime();
            foreach ($fistLoginReportArray as $firstYMD => $statYMDInfo) {
                echo "<tr class='trc'>";
@@ -112,7 +113,7 @@
                    } else {
                        $dayLTV += $payTotal;
                    }
                    if ($dayLTV == 0 || $firstCount == 0) {
                    if ($dayLTV == 0 || $firstCount == 0 || $statYMD > $curYMD) {
                        $text = "";
                    } else {
                        $ltv = $dayLTV / $firstCount;