Explorar el Código

fix 测试关闭短信

tanzh hace 3 años
padre
commit
8b22383da0

+ 6 - 6
zhongzheng-system/src/main/java/com/zhongzheng/modules/schedule/service/impl/ScheduleServiceImpl.java

@@ -1392,9 +1392,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
                 UserVo userVo = iUserService.queryById(classGradeStudentVo.getUserId());
                 Map<String, Object> param = new HashMap<>();
                 param.put("businessName", classGradeStudentVo.getBusinessName() + classGradeStudentVo.getProjectName());
-                if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockBookingReminder))) {
+                /*if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockBookingReminder))) {
                     iInformUserService.insertByAddBo(informUserAddBo);
-                }
+                }*/
             }
         }
         mockApplyVos.forEach(mockApplyVo -> {
@@ -1464,9 +1464,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
                     Map<String, Object> param = new HashMap<>();
                     param.put("subjectName", courseSubject.getSubjectName());
                     param.put("applyName", mockApply.getApplyName());
-                    if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockRemind))) {
+                    /*if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), mockRemind))) {
                         iInformUserService.insertByAddBo(informUserAddBo);
-                    }
+                    }*/
                 }
                 UserMockSubscribeEditBo bo1 = new UserMockSubscribeEditBo();
                 bo1.setSubscribeId(subscribeVo.getSubscribeId());
@@ -1511,9 +1511,9 @@ public class ScheduleServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVide
                 Map<String, Object> param = new HashMap<>();
                 param.put("subjectName", userMockSubscribeVo.getSubjectName());
                 param.put("prefixName", userMockSubscribeVo.getPrefixName());
-                if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), liveStartRemind))) {
+                /*if (Validator.isNotEmpty(IAliSmsService.sendInformSms(userVo.getTelphone(), JSON.toJSONString(param), liveStartRemind))) {
                     iInformUserService.insertByAddBo(informUserAddBo);
-                }
+                }*/
             }
             UserMockSubscribeEditBo bo1 = new UserMockSubscribeEditBo();
             bo1.setSubscribeId(userMockSubscribeVo.getSubscribeId());