示例#1
0
    def post(self):
        model = get_model()
        client = get_client(model)
        ret = do_post_cmd(model, self.json_args["cmd"], client)

        self.write(json_encode(ret))
示例#2
0
 def post(self):
     model = get_model()
     client = get_client(model)
     ret = do_get_cmd(model, self.json_args["cmd"], client)
     print(ret)