mirror of
https://gitee.com/zyjblog/oatpp.git
synced 2024-12-22 22:16:37 +08:00
Remove commented code
This commit is contained in:
parent
ac0747e4f8
commit
49a6c50f03
@ -61,14 +61,6 @@ public:
|
||||
|
||||
#include OATPP_CODEGEN_BEGIN(ApiController)
|
||||
|
||||
/*ENDPOINT_INTERCEPTOR(root, inter1) {
|
||||
OATPP_LOGD("aaa", "inter1");
|
||||
return (this->*prevMethod)(request);
|
||||
}*/
|
||||
/*ENDPOINT_INTERCEPTOR(root, inter2) {
|
||||
OATPP_LOGD("aaa", "inter2");
|
||||
return (this->*prevMethod)(request);
|
||||
}*/
|
||||
ENDPOINT("GET", "/", root) {
|
||||
//OATPP_LOGV(TAG, "GET '/'");
|
||||
return createResponse(Status::CODE_200, "Hello World!!!");
|
||||
|
@ -61,15 +61,6 @@ public:
|
||||
|
||||
#include OATPP_CODEGEN_BEGIN(ApiController)
|
||||
|
||||
// ENDPOINT_INTERCEPTOR_ASYNC(Root, inter1) {
|
||||
// OATPP_LOGD("aaa", "inter1");
|
||||
// return (this->*prevMethod)(request);
|
||||
// }
|
||||
// ENDPOINT_INTERCEPTOR(root, inter2) {
|
||||
// OATPP_LOGD("aaa", "inter2");
|
||||
// return (this->*prevMethod)(request);
|
||||
// }
|
||||
|
||||
ENDPOINT_ASYNC("GET", "/", Root) {
|
||||
|
||||
ENDPOINT_ASYNC_INIT(Root)
|
||||
|
Loading…
Reference in New Issue
Block a user