class MyClass:public drogon::HttpSimpleController<MyClass>
public:
//TestController(){}
virtual void asyncHandleHttpRequest(const HttpRequestPtr &req,
PATH_LIST_BEGIN
PATH_ADD("/json");
PATH_LIST_END
};
class MyClass:public drogon::HttpSimpleController<MyClass>
public:
//TestController(){}
virtual void asyncHandleHttpRequest(const HttpRequestPtr &req,
PATH_LIST_BEGIN
PATH_ADD("/json");
PATH_LIST_END
};
本文档使用 全库网 构建