From 0e1612b11dc33c3ee4b388d8b08a067072ef2924 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 12 十二月 2024 19:24:38 +0800 Subject: [PATCH] 10162 后台优化(增加报表:首登首充人数、购买X礼包再付人数;) --- serverrep/ImportAccountLoginpay.php | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/serverrep/ImportAccountLoginpay.php b/serverrep/ImportAccountLoginpay.php index 49c6cb1..b43b7f6 100644 --- a/serverrep/ImportAccountLoginpay.php +++ b/serverrep/ImportAccountLoginpay.php @@ -64,11 +64,20 @@ logweb("eventYMDOK:" . $eventYMDOK); } \Report\CheckAndExportDailyReport($Channel); - logweb("寮�濮嬪鍑虹暀瀛樻姤琛�:" . $Channel); + logweb("寮�濮嬪鍑洪鐧婚鍏呮姤琛�:" . $Channel); \Report\CheckAndExportFirstKeepReport($Channel); } -if ($opt == "keep") { - logweb("寮�濮嬪鍑虹暀瀛樻姤琛�:" . $Channel); +if ($opt == "refirst") { + logweb("do refirst"); + $AccountFirstLoginReportOK = \DBOper\Remove("AccountFirstLoginReport", array("Channel" => $Channel)); + $AccountFirstPayReportOK = \DBOper\Remove("AccountFirstPayReport", array("Channel" => $Channel)); + $eventYMDOK = \DBOper\Remove("ServerEvent", array("Key" => "FirstKeepReportYMD_" . $Channel)); + logweb("AccountFirstLoginReportOK:" . $AccountFirstLoginReportOK); + logweb("AccountFirstPayReportOK:" . $AccountFirstPayReportOK); + logweb("eventYMDOK:" . $eventYMDOK); +} +if ($opt == "first" || $opt == "refirst") { + logweb("寮�濮嬪鍑洪鐧婚鍏呮姤琛�:" . $Channel); \Report\CheckAndExportFirstKeepReport($Channel); } logweb("澶勭悊瀹屾瘯!"); -- Gitblit v1.8.0