예제 #1
0
 def post(self):
     entityname = self.get_argument("entityname", "")       
     entityId = self.get_argument("id", "0")
     print entityname, entityId
     result = entity.removeEntity(entityname, entityId)
     if result['result']=='success':
         self.writeLog( "remove",entityname,str(self.request.arguments))
     self.write(tornado.escape.json_encode(result))
예제 #2
0
 def post(self):
     entityname = self.get_argument("entityname", "")       
     entityId = self.get_argument("id", "0")
     print entityname, entityId
     result = entity.removeEntity(entityname, entityId)
     self.write(tornado.escape.json_encode(result))