hxp
2024-11-18 c45fcd071efa413f115000544bfe76e86292c034
已修改        serverrep/ImportAccountLoginpay.php(支持重新导出)
1个文件已修改
18 ■■■■■ 已修改文件
serverrep/ImportAccountLoginpay.php 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
serverrep/ImportAccountLoginpay.php
@@ -18,7 +18,23 @@
    exit();
}
logweb("开始导入:" . $Channel);
if (array_key_exists("reset", $_GET)) {
    logweb("重置重新导出:" . $Channel);
    $AccountFirstLoginOK = \DBOper\Remove("AccountFirstLogin", array("Channel" => $Channel));
    $AccountFirstPayOK = \DBOper\Remove("AccountFirstPay", array("Channel" => $Channel));
    $AccountDayActiveOK = \DBOper\Remove("AccountDayActive", array("Channel" => $Channel));
    $DailyReportOK = \DBOper\Remove("DailyReport", array("Channel" => $Channel));
    $AccountFirstLoginReportOK = \DBOper\Remove("AccountFirstLoginReport", array("Channel" => $Channel));
    $AccountFirstPayReportOK = \DBOper\Remove("AccountFirstPayReport", array("Channel" => $Channel));
    $eventYMDOK = \DBOper\Remove("ServerEvent", array("Key" => "AccountFirstKeepReportYMD"));
    logweb("AccountFirstLoginOK:" . $AccountFirstLoginOK);
    logweb("AccountFirstPayOK:" . $AccountFirstPayOK);
    logweb("AccountDayActiveOK:" . $AccountDayActiveOK);
    logweb("DailyReportOK:" . $DailyReportOK);
    logweb("AccountFirstLoginReportOK:" . $AccountFirstLoginReportOK);
    logweb("AccountFirstPayReportOK:" . $AccountFirstPayReportOK);
    logweb("eventYMDOK:" . $eventYMDOK);
}
if (!$opt || $opt == "first") {
    logweb("firstfirstfirst:" . $Channel);
    impAccountFirstLogin();