def clear_cache(self): mc.delete(self._records_by_student_and_post_and_type_cache_key % (self.student_id, self.post_id, self.post_type_))
def clear_cache(self): mc.delete(self._course_post_by_id_cache_key % self.id) mc.delete(self._course_post_supply_by_post_id_cache_key % self.id) mc.delete(self._course_post_demand_by_post_id_cache_key % self.id)
def clear_cache(self): mc.delete(self._id_by_open_id_cache_key % self.open_id) mc.delete(self._wechat_session_by_id_cache_key % self.id)
def clear_cache(self): mc.delete(self._wechat_user_by_open_id_cache_key % self.open_id)
def clear_cache(self): mc.delete(self._course_cache_key % self.id)
def clear_cache(self): mc.delete(self._goods_post_by_id_cache_key % self.id)
def clear_cache(self): mc.delete(self._student_cache_key % self.id) mc.delete(self._avatar_cache_key % self.id) mc.delete(self._remaining_viewcount_by_student_cache_key % self.id)