|
@@ -954,6 +954,17 @@ public class EduPracticeGroupServiceImpl implements EduPracticeGroupService{
|
|
|
userPhoneMap.put(practiceGroup.getStudentId(), student.getPhone());
|
|
|
sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.PAY_PRACTICE_BUY_SUCCESS,
|
|
|
userPhoneMap, null, 0, null, "STUDENT", groupStartTime, groupEndTime, teacherName, drillTimesOnWeek, firstCourseStartTime);
|
|
|
+
|
|
|
+ Map<Integer, String> teacherMap = new HashMap<>();
|
|
|
+ teacherMap.put(practiceGroup.getUserId(), practiceGroup.getUserId().toString());
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.JIGUANG, MessageTypeEnum.PRACTICE_CREATE_TEACHER_PUSH,
|
|
|
+ teacherMap, null, 0, null, "TEACHER", teacher.getRealName(),
|
|
|
+ practiceGroup.getType().getMsg(), practiceGroup.getName());
|
|
|
+ Map<Integer, String> teacherPhoneMap = new HashMap<>();
|
|
|
+ teacherPhoneMap.put(practiceGroup.getUserId(), teacher.getPhone());
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.YIMEI, MessageTypeEnum.PRACTICE_CREATE_TEACHER_PUSH,
|
|
|
+ teacherPhoneMap, null, 0, null, "TEACHER", teacher.getRealName(),
|
|
|
+ practiceGroup.getType().getMsg(), practiceGroup.getName());
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -1487,12 +1498,12 @@ public class EduPracticeGroupServiceImpl implements EduPracticeGroupService{
|
|
|
teacherMap.put(practiceGroupBuyParams.getUserId(), practiceGroupBuyParams.getUserId().toString());
|
|
|
sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.JIGUANG, MessageTypeEnum.PRACTICE_CREATE_TEACHER_PUSH,
|
|
|
teacherMap, null, 0, null, "TEACHER", teacher.getRealName(),
|
|
|
- practiceGroupBuyParams.getType().getCode(), practiceGroupBuyParams.getName());
|
|
|
+ practiceGroupBuyParams.getType().getMsg(), practiceGroupBuyParams.getName());
|
|
|
Map<Integer, String> teacherPhoneMap = new HashMap<>();
|
|
|
teacherPhoneMap.put(practiceGroupBuyParams.getUserId(), teacher.getPhone());
|
|
|
sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.YIMEI, MessageTypeEnum.PRACTICE_CREATE_TEACHER_PUSH,
|
|
|
teacherPhoneMap, null, 0, null, "TEACHER", teacher.getRealName(),
|
|
|
- practiceGroupBuyParams.getType().getCode(), practiceGroupBuyParams.getName());
|
|
|
+ practiceGroupBuyParams.getType().getMsg(), practiceGroupBuyParams.getName());
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
}
|