2 Commits da19115087 ... b180fbe0aa

Author SHA1 Message Date
  liujc b180fbe0aa Merge branch 'feature/0822_logoff' into develop-new 1 month ago
  liujc fec1bba2b6 fix 1 month ago

+ 2 - 2
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/StudentStarServiceImpl.java

@@ -75,8 +75,8 @@ public class StudentStarServiceImpl extends ServiceImpl<StudentStarDao, StudentS
             studentTotal.setStarTeacherNum(studentTotal.getStarTeacherNum() > 0 ? (studentTotal.getStarTeacherNum() - 1) : 0);
             teacherTotal.setFansNum(teacherTotal.getFansNum() > 0 ? (teacherTotal.getFansNum() - 1) : 0);
         }
-        studentTotalService.updateTotalCache(studentTotal);
-        teacherTotalService.updateTotalCache(teacherTotal);
+        studentTotalService.totalStudentTotalById(studentId);
+        teacherTotalService.totalTeacherTotalById(teacherId);
         return HttpResponseResult.succeed(true);
     }