整理解析器

This commit is contained in:
xiongziliang
2020-04-20 18:13:45 +08:00
parent 003cd58371
commit 1d5c6cb141
9 changed files with 151 additions and 125 deletions

View File

@@ -444,7 +444,7 @@ void installWebHook(){
body["path"] = path;
body["is_dir"] = is_dir;
body["params"] = parser.Params();
for(auto &pr : parser.getValues()){
for(auto &pr : parser.getHeader()){
body[string("header.") + pr.first] = pr.second;
}
//执行hook