...
|
...
|
@@ -268,11 +268,13 @@ class InformationController extends RestBaseController |
|
|
//推送
|
|
|
if($type == 1){
|
|
|
//培训,乙方领导确认,提醒甲乙方员工
|
|
|
$user_ids = $common->getStaffId($data['project_id']);
|
|
|
$project = $common->getProjectId('train',['id'=>$id],'id,project_id');
|
|
|
$user_ids = $common->getStaffId($project['project_id']);
|
|
|
$content = config('site.train_content_confirm_l');
|
|
|
}else{
|
|
|
//演习,乙方领导确认,提醒甲乙方员工
|
|
|
$user_ids = $common->getStaffId($data['project_id']);
|
|
|
$project = $common->getProjectId('exercise',['id'=>$id],'id,project_id');
|
|
|
$user_ids = $common->getStaffId($project['project_id']);
|
|
|
$content = config('site.exercise_content_confirm_l');
|
|
|
}
|
|
|
$registration_id = $common->getPushUsers($user_ids);
|
...
|
...
|
|