Update docs 4

master
root 2020-06-26 12:55:54 +07:00
parent 08e1ea25c3
commit a2be042be9
2 changed files with 620 additions and 620 deletions

View File

@ -353,7 +353,7 @@ if (!args || args.help) {
doc += "| N | Field name | Field type |\n| --- | --- | --- |\n";
for (let i = 1; i <= fields.length; i++) {
if (fields[i]) {
doc += `| ${i} | ${fields[i].name} | ${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')} |\n`;
doc += `| ${i} | ${fields[i].name} | ${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type.toLowerCase()+')')} |\n`;
}
}
} else {
@ -363,7 +363,7 @@ if (!args || args.help) {
} else if (item.methods) {
const methods = item.methods;
for (const [key, method] of Object.entries(methods)) {
doc += `* ${key}([${method.responseType}](#${method.responseType}) return [${method.requestType}](#${method.requestType})\n`;
doc += `* ${key}([${method.responseType}](#${method.responseType.toLowerCase()}) return [${method.requestType}](#${method.requestType.toLowerCase()})\n`;
}
}

1236
liqi.md

File diff suppressed because it is too large Load Diff