def post(self): submit = self.request() ReportIssue.add(submit) return self.succ()
def put(self, rid): submit = self.request() submit["id"] = rid ReportIssue.edit(submit) return self.succ()
def delete(self, rid): ReportIssue.delete(rid) return self.succ()