From 9f5c83142967466abbea23067e4c02072d65e02d Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 3 Sep 2021 15:16:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ConsoleController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/ConsoleController.class.php b/Application/Admin/Controller/ConsoleController.class.php index 413a48300..0fb7f9b3d 100644 --- a/Application/Admin/Controller/ConsoleController.class.php +++ b/Application/Admin/Controller/ConsoleController.class.php @@ -758,6 +758,7 @@ class ConsoleController extends Think { public function shiftPromote() { + return; $fromAccount = 'hskj6868'; //1874 $toAccount = 'huyou1'; //1068 $shiftIds = [3706]; @@ -777,7 +778,7 @@ class ConsoleController extends Think { 'to_promote_id' => $toPromote['id'], 'shift_ids' => json_encode($shiftIds), ]); - + M('promote', 'tab_')->where(['level1_id' => $toPromote['id'], 'level2_id' => 3706, 'company_id' => $formPromote['company_id']])->save([ 'company_id' => $toPromote['company_id'], 'admin_id' => $toPromote['admin_id'],