Esempio n. 1
0
 def get(self, id):
     zsite_id = self.zsite_id
     current_user_id = self.current_user_id
     id = int(id)
     if id != current_user_id:
         zsite_member_rm(zsite_id, id)
     self.finish('{}')
Esempio n. 2
0
 def get(self, id):
     zsite_id = self.zsite_id
     current_user_id = self.current_user_id
     id = int(id)
     if id != current_user_id:
         zsite_member_rm(zsite_id, id)
     self.finish("{}")
Esempio n. 3
0
 def post(self, id):
     com_id = self.zsite_id
     if id and zsite_id_count_by_member_admin(com_id) > 1:
         zsite_member_rm(com_id, id)
     self.finish('{}')
Esempio n. 4
0
 def post(self, id):
     com_id = self.zsite_id
     if id and zsite_id_count_by_member_admin(com_id) > 1:
         zsite_member_rm(com_id, id)
     self.finish("{}")