add reload

This commit is contained in:
chuanweizhang2013 2014-04-09 17:54:10 +08:00
parent 8ac09f0631
commit e97552c2d3
1 changed files with 5 additions and 0 deletions

View File

@ -649,6 +649,11 @@ public:
bodyvalue.AddMember(objectfiles[i].GetString(),1,dReplyParse.GetAllocator());
}
}
if (0 == objectfiles.Size())
{
reloadScript("");
}
dReplyParse.AddMember("body",bodyvalue,dReplyParse.GetAllocator());
}
dReplyParse.AddMember("code",0,dReplyParse.GetAllocator());