diff --git a/Application/Admin/Controller/TimingController.class.php b/Application/Admin/Controller/TimingController.class.php index 827ff04..318fc2f 100644 --- a/Application/Admin/Controller/TimingController.class.php +++ b/Application/Admin/Controller/TimingController.class.php @@ -1353,7 +1353,7 @@ class TimingController extends AdminController { $items = [ // 'lingtouyang' => 'cmyibu', // 'lingtouyan' => 'cmbabu', - '18054742361' => 'yibuqizu', + // '18054742361' => 'yibuqizu', /* '17828125172' => 'yibubazu', '19511891774' => 'yibuyizu', '15181732144' => 'yibuerzu', @@ -1369,12 +1369,53 @@ class TimingController extends AdminController { '19865000474' => 'yibuqizu', '17606977448' => 'yibuwuzu', */ ]; - var_dump($items); + + $items = [ + 'baibai2' => 'ltybaibai3', + 'cmyibu' => 'ltyyibu', + 'cmbabu' => 'ltybabu', + 'yibuyizu' => 'liuqingsheng', + 'yibuerzu' => 'dengbin', + 'yibusanzu' => 'qianjian', + 'yibuwuzu' => 'huangjuncai', + 'yibuliuzu' => 'ltyliuzu', + 'yibuqizu' => 'yuyangyang1', + 'yibubazu' => 'zhengying', + 'babubazu' => 'ltybazu', + 'tiandi1' => 'tiandi2', + 'zhenzhen1' => 'zhenzhen2', + 'jiangshibo01' => 'jiangshibo', + 'dongling1' => 'dongling2', + 'dadabin' => 'dadabin1', + '13936630768' => 'liunian', + '13622371985' => 'xueer2', + '15944856722' => 'duoduo', + '19112984224' => 'laochen1', + '13860301106' => 'dashu1', + '15298615295' => 'sisi01', + '17861271258' => 'chujian', + '15199802803' => 'nvdi01', + 'xka123456' => 'xka12345', + '19212580060' => 'chenshengquan', + 'yujunlin' => 'yujunlin1', + 'tanqinxian' => 'tanqinxian1', + 'sunronji' => 'sunronji1', + 'chenjie' => 'chenjie1', + 'hdfzxyz01' => 'hdfzxyz02', + 'xianxian' => 'xianxian1', + 'yangyang' => 'yangyang1', + 'yipinnvdi' => 'yipinnvdi1', + 'xixi68' => 'xixi668', + 'hejingbo' => 'hejingbo1', + 'xiaofei' => 'xiaofei1', + 'chenqin989' => 'chenqin98', + 'lanlan' => 'lanlan1', + 'longlong' => 'zhanglong', + ]; 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'], @@ -1406,7 +1447,7 @@ class TimingController extends AdminController { ]); } catch (\Exception $e) { var_dump($e->getMessage()); - Log::error('shift-param', json_encode($params, true)); + Log::error('shift-param', json_encode($params, true), 'shift_players'); Log::error($e->getMessage(), 'shift_players'); } }