处理bug

master
ELF 3 years ago
parent 8d78b2f27f
commit 9f5c831429

@ -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'],

Loading…
Cancel
Save