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