diff --git a/api/src/main/resources/template/tpl/apiPage/apiPage.html b/api/src/main/resources/template/tpl/apiPage/apiPage.html index 5024fc68ce792f29a3da85bce59b8ef55eb0560e..049db11179b6086465f180f0697efe20db5978dc 100644 --- a/api/src/main/resources/template/tpl/apiPage/apiPage.html +++ b/api/src/main/resources/template/tpl/apiPage/apiPage.html @@ -228,6 +228,17 @@ {{default}} {{exampleDefault}} + {{#each children}} + + - {{id}} + {{name}} + {{type}} + {{var}} + {{ref}} + {{default}} + {{exampleDefault}} + + {{/each}} {{/each}} diff --git a/api/src/main/resources/template/tpl/apiPage/mdModelFile.tpl b/api/src/main/resources/template/tpl/apiPage/mdModelFile.tpl index 281cc60b85758d51face7cc3fa87691b6f831ea9..2a3d9ede2ccadad1ed462fdbab094e84b3dcf9ce 100644 --- a/api/src/main/resources/template/tpl/apiPage/mdModelFile.tpl +++ b/api/src/main/resources/template/tpl/apiPage/mdModelFile.tpl @@ -7,12 +7,17 @@ ### 映射地址:{{path}} +### 请求类型:{{method}} + ### 参数(Parameters): | 前端参数 | 后端参数 | 字段类型 | 参数描述 | 限制条件 | 默认值 | 示例值 | | -------- | -------- | -------- | -------- | -------- | -------- | -------- | {{#each list}} | {{id}} | {{name}} | {{type}} | {{var}} | {{ref}} | {{default}} | {{exampleDefault}} | + {{#each children}} +| - {{id}} | {{name}} | {{type}} | {{var}} | {{ref}} | {{default}} | {{exampleDefault}} | + {{/each}} {{/each}} ### 接口返回结果(Result):