From 2e4958b6e6d04870d93129b628b5f063a00b60cf Mon Sep 17 00:00:00 2001 From: duanledexianxianxian Date: Tue, 23 Jun 2020 20:02:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apidoc-core/src/main/resources/templates/markdown.ftl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apidoc-core/src/main/resources/templates/markdown.ftl b/apidoc-core/src/main/resources/templates/markdown.ftl index 24df573..3dca006 100644 --- a/apidoc-core/src/main/resources/templates/markdown.ftl +++ b/apidoc-core/src/main/resources/templates/markdown.ftl @@ -1,6 +1,6 @@ [TOC] - +# 接口 <#-- ---------- BEGIN 循环遍历book ----------> <#if books??> <#list books as bookKey,bookValue> @@ -98,7 +98,11 @@ ${section.getResponseString()} | 编码 | 值 | 说明 | | :------- | :----- |:----- <#list appendfix.cells as cell> -| <#if (cell.values?size>0)>${cell.values[0]} | <#if (cell.values?size>1)>${cell.values[1]} | <#if (cell.values?size>2)>${cell.values[2]} | + <#if (cell.values?size=2)> +| ${cell.values[0]} | | ${cell.values[1]} | + <#else> +| ${cell.values[0]} | ${cell.values[1]} | ${cell.values[2]} | + -- GitLab