master
elf 2 years ago
parent ec6626ffad
commit a0ccf1fa06

@ -1365,9 +1365,11 @@ class TimingController extends AdminController {
'hdfzxyz' => 'hdfzxyz01', 'hdfzxyz' => 'hdfzxyz01',
'lingtouyan001' => 'dadabin', 'lingtouyan001' => 'dadabin',
'baibai' => 'baibai2', 'baibai' => 'baibai2',
'15181732144' => 'yibuerzu',
'19865000474' => 'yibuqizu',
'17606977448' => 'yibuwuzu',
]; ];
foreach ($items as $fromPromoteAccount => $toPromoteAccount) { foreach ($items as $fromPromoteAccount => $toPromoteAccount) {
$toPromote = M('promote','tab_')->field(['id', 'account'])->where(['account'=> $toPromoteAccount])->find(); $toPromote = M('promote','tab_')->field(['id', 'account'])->where(['account'=> $toPromoteAccount])->find();
$users = M("user","tab_")->where("promote_account='" . $fromPromoteAccount . "'")->select(); $users = M("user","tab_")->where("promote_account='" . $fromPromoteAccount . "'")->select();

Loading…
Cancel
Save