瀏覽代碼

乐队指导训练营

zouxuan 6 月之前
父節點
當前提交
7ca78399cb

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/TempDirectorTrainingCampDetailServiceImpl.java

@@ -148,6 +148,8 @@ public class TempDirectorTrainingCampDetailServiceImpl extends ServiceImpl<TempD
             teacherDao.insert(teacher);
         }else {
             if (sysUser.getUserType().contains("SCHOOL")) {
+                // 删除缓存锁
+                redissonClient.getBucket(submitLockKey).delete();
                 throw new BizException("已注册学校账号,请联系客服");
             }
             Teacher teacher = teacherDao.get(sysUser.getId());