fix a spelling mistake

This commit is contained in:
an-tao 2018-06-08 12:22:11 +08:00
parent fb6c6527bd
commit e2fdbe9f62
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ int main()
//lambda example
drogon::HttpAppFramework::registerHttpApiMethod("/api/v1/handle2/{1}/{2}",[](const HttpRequest&req,const std::function<void (HttpResponse &)>&callback,int a,float b){
LOG_DEBUG<<"int a="<<a;
LOG_DEBUG<<"flaot b="<<b;
LOG_DEBUG<<"float b="<<b;
HttpViewData data;
data.insert("title",std::string("ApiTest::get"));
std::map<std::string,std::string> para;