mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-03 04:50:32 +08:00
fix: 修复测试报告request_body
This commit is contained in:
parent
40840e21c3
commit
381f3682d5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user