示例#1
0
 def post_creation(self, instance):
     tasks_service.clear_department_cache(str(instance.id))
     return instance.serialize()
示例#2
0
 def post_delete(self, instance_dict):
     tasks_service.clear_department_cache(instance_dict["id"])
示例#3
0
文件: department.py 项目: cgwire/zou
 def post_update(self, instance_dict):
     tasks_service.clear_department_cache(instance_dict["id"])
     return instance_dict