|
@@ -367,9 +367,10 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
informUserAddBo.setGoodsId(classTwentyGradeUserVo.getGoodsId());
|
|
|
informUserAddBo.setGradeId(classTwentyGradeUserVo.getGradeId());
|
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(classTwentyGradeUserVo.getGoodsId());
|
|
|
- informUserAddBo.setText("尊敬的用户:您购买的课程班级有效期还剩20天,未在"+resEnd+"前完成全部学时,可能会影响审核进度,最终导致学时无效,请尽快完成学习");
|
|
|
+ informUserAddBo.setText("尊敬的用户:您购买的"+goodsVo1.getGoodsName()+"课程班级有效期还剩20天,未在"+resEnd+"前完成全部学时,可能会影响审核进度,最终导致学时无效,请尽快完成学习");
|
|
|
UserVo userVo = iUserService.queryById(classTwentyGradeUserVo.getUserId());
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
+ param.put("goods", goodsVo1.getGoodsName());
|
|
|
param.put("time", resEnd);
|
|
|
param.put("day", 20);
|
|
|
if(Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), remainingDaysValidityCode))){
|
|
@@ -418,10 +419,11 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
informUserAddBo.setGoodsId(classTenGradeUserVo.getGoodsId());
|
|
|
informUserAddBo.setGradeId(classTenGradeUserVo.getGradeId());
|
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(classTenGradeUserVo.getGoodsId());
|
|
|
- informUserAddBo.setText("尊敬的用户:您购买的课程班级有效期还剩10天,未在"+resEnd+"前完成全部学时,可能会影响审核进度,最终导致学时无效,请尽快完成学习");
|
|
|
+ informUserAddBo.setText("尊敬的用户:您购买的"+goodsVo1.getGoodsName()+"课程班级有效期还剩10天,未在"+resEnd+"前完成全部学时,可能会影响审核进度,最终导致学时无效,请尽快完成学习");
|
|
|
|
|
|
UserVo userVo = iUserService.queryById(classTenGradeUserVo.getUserId());
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
+ param.put("goods", goodsVo1.getGoodsName());
|
|
|
param.put("time", resEnd);
|
|
|
param.put("day", 10);
|
|
|
if(Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), remainingDaysValidityCode))){
|
|
@@ -470,9 +472,10 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
|
|
|
informUserAddBo.setGoodsId(classFiveGradeUserVo.getGoodsId());
|
|
|
informUserAddBo.setGradeId(classFiveGradeUserVo.getGradeId());
|
|
|
GoodsVo goodsVo1 = iGoodsService.queryById(classFiveGradeUserVo.getGoodsId());
|
|
|
- informUserAddBo.setText("尊敬的用户:您购买的课程班级有效期还剩5天,未在"+resEnd+"前完成全部学时,可能会影响审核进度,最终导致学时无效,请尽快完成学习");
|
|
|
+ informUserAddBo.setText("尊敬的用户:您购买的"+goodsVo1.getGoodsName()+"课程班级有效期还剩5天,未在"+resEnd+"前完成全部学时,可能会影响审核进度,最终导致学时无效,请尽快完成学习");
|
|
|
UserVo userVo = iUserService.queryById(classFiveGradeUserVo.getUserId());
|
|
|
Map<String, Object> param = new HashMap<>();
|
|
|
+ param.put("goods", goodsVo1.getGoodsName());
|
|
|
param.put("time", resEnd);
|
|
|
param.put("day", 5);
|
|
|
if(Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), remainingDaysValidityCode))){
|