def update(): return rst_activity.post_or_put(request.json.get('id'))
def add(): return rst_activity.post_or_put()