Browse Source

Merge branch 'saas' of http://git.dayaedu.com/yonge/mec into zx_1026_1111

zouxuan 1 year ago
parent
commit
84eec9f140

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/SysMessageServiceImpl.java

@@ -83,7 +83,7 @@ public class SysMessageServiceImpl extends BaseServiceImpl<Long, SysMessage> imp
 	@Autowired
 	private SysEmailServiceImpl sysEmailService;
 	// 验证码有效期
-	public static final int CODE_EXPIRE = 60 * 5;
+	public static final int CODE_EXPIRE = 60 * 10;
 	// 发送验证码的间隔时间
 	public static final int CODE_INTERVAL_TIME = 60;
 

+ 4 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/VipGroupServiceImpl.java

@@ -466,9 +466,12 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
             courseSchedule.setName(vipGroupApplyBaseInfoDto.getName());
             courseSchedule.setOrganId(vipGroupApplyBaseInfoDto.getOrganId());
         }
+        vipGroupApplyBaseInfoDto.setCourseSchedulesJson(JSON.toJSONString(courseSchedules));
         if (upCourseFlag) {
             vipGroup.setCourseSchedules(courseSchedules);
             courseScheduleDao.batchUpdate(courseSchedules);
+        }else {
+            this.liveProgress(vipGroupApplyBaseInfoDto,classGroup);
         }
         if (vipGroup1.getStatus().equals(VipGroupStatusEnum.PROGRESS)) {
             // 修改课程信息
@@ -500,10 +503,9 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
             imGroupMemberService.join(classGroup.getId().toString(), applyBaseInfo.getEducationalTeacherId(),EFriendRoleType.ORCHESTRA_MANAGER.getMsg(),false);
         }
 
-        if (!vipGroup1.getStatus().equals(VipGroupStatusEnum.PROGRESS)) {
+        if (!vipGroup1.getStatus().equals(VipGroupStatusEnum.PROGRESS) && upCourseFlag) {
             courseScheduleService.checkNewCourseSchedules(courseSchedules, false, false);
         }
-        vipGroupApplyBaseInfoDto.setCourseSchedulesJson(JSON.toJSONString(courseSchedules));
         vipGroupDao.update(vipGroupApplyBaseInfoDto);
         return BaseController.succeed(vipGroupApplyBaseInfoDto.getAuditStatus().getCode());
     }

+ 0 - 0
mec-education/src/main/resources/bootstrap-prod.properties


+ 0 - 0
mec-monitor/src/main/resources/bootstrap-prod.properties


+ 0 - 0
mec-student/src/main/resources/bootstrap-prod.properties


+ 0 - 0
mec-teacher/src/main/resources/bootstrap-prod.properties


+ 0 - 0
mec-web/src/main/java/com/ym/mec/web/controller/PhotoAlbumController.java


+ 0 - 0
mec-web/src/main/java/com/ym/mec/web/controller/education/EduPhotoAlbumController.java


+ 0 - 0
mec-web/src/main/resources/bootstrap-prod.properties


+ 0 - 0
mec-zipkin/src/main/resources/bootstrap-prod.properties