| | |
| | | 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("处理完毕!");
|