fix: 修复测试报告request_body

This commit is contained in:
gaoxiaolin.gao 2018-02-24 11:55:03 +08:00
parent 40840e21c3
commit 381f3682d5

View File

@ -17,7 +17,7 @@ function createHtml(reports) {
reports.list.map((item, index)=>{
mdTemplate += baseHtml(index, item.name, item.path, item.status)
mdTemplate += validHtml(item.validRes);
mdTemplate += requestHtml(item.url, item.headers, item.params);
mdTemplate += requestHtml(item.url, item.headers, item.data);
mdTemplate += reponseHtml(item.res_header, item.res_body);
left += leftHtml(index, item.name, item.code);
// left += codeHtml(item.code);