From 7c0cc25397a0ec39ba36d2cd00fb88337d3ebf25 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Sun, 12 Mar 2023 21:15:57 +0800 Subject: [PATCH] test --- Application/Admin/Controller/TimingController.class.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index 0473346..1709132 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -1351,10 +1351,10 @@ class TimingController extends AdminController { public function shiftPlayers() { $items = [ - 'lingtouyang' => 'cmyibu', - 'lingtouyan' => 'cmbabu', + // 'lingtouyang' => 'cmyibu', + // 'lingtouyan' => 'cmbabu', '18054742361' => 'yibuqizu', - '17828125172' => 'yibubazu', + /* '17828125172' => 'yibubazu', '19511891774' => 'yibuyizu', '15181732144' => 'yibuerzu', '15202815645' => 'yibusanzu', @@ -1367,12 +1367,13 @@ class TimingController extends AdminController { 'baibai' => 'baibai2', '15181732144' => 'yibuerzu', '19865000474' => 'yibuqizu', - '17606977448' => 'yibuwuzu', + '17606977448' => 'yibuwuzu', */ ]; foreach ($items as $fromPromoteAccount => $toPromoteAccount) { $toPromote = M('promote','tab_')->field(['id', 'account'])->where(['account'=> $toPromoteAccount])->find(); $users = M("user","tab_")->where("promote_account='" . $fromPromoteAccount . "'")->select(); + var_dump($users); foreach ($users as $user) { $params = [ 'promote_id_to' => $toPromote['id'],