全局文档

{if (!$item.content)}
暂无
{else /}
{$item.content|raw}
{/if}

状态码

{foreach $code as $v} {/foreach}
Code Success 类型 说明
{$v.code} {if ($v.is_success==1)}{else/}否{/if} {$v.param_type}
{$v.msg|raw}
{foreach $api as $val} {foreach $val.list as $num=>$v}

{$v.title}

{$v.http} {$v.type} {$v.host_url} 额外: {$v.action}
{if ($v.is_imitate_api == 1)}
该接口支持模拟请求 {$v.type} {$v.host_url2}
{/if}
{$v.param} {$v.status.title} {$v.group} {$v.duty_name} {$v.update_time}
{$v.des}

请求参数

body
headers
参数名
类型
必须
默认值
说明
{$v.body|raw}
{foreach $v.request as $vv} {/foreach}
参数名 类型 必填 说明
{$vv.field} {$vv.param_type} {if ($vv.no_null==1)}{else /}否{/if}
{$vv.title}

返回结果

data
返回结构({$v.return_type})
响应头
状态码
参数名
类型
必须
默认值
说明
{$v.return|raw}
{foreach $v.return_field as $vv} {/foreach}
参数名 是否Code值 是否Data值 说明
{$vv.field} {if ($vv.is_code==1)}{else /}否{/if} {if ($vv.is_data==1)}{else /}否{/if}
{$vv.title}
{foreach $v.return_request as $vv} {/foreach}
参数名 类型 必填 说明
{$vv.field} {$vv.param_type}{if ($vv.size)}({$vv.size}){/if} {if ($vv.no_null==1)}{else /}否{/if}
{$vv.title}
{foreach $v.return_code as $vv} {/foreach}
Code Msg 类型 is_Success
{$vv.code} {$vv.msg} {$vv.param_type} {if ($vv.is_success==1)}{else /}否{/if}

Success示例

{foreach $v.success_list as $i=>$vv}
{if ($vv.scene)}{$vv.scene}{else /}{$i+1}{/if}
{/foreach}
{foreach $v.success_list as $i=>$vv}

{if ($vv.des)}{$vv.des}{else /}暂无说明{/if}

{$vv.json|raw}
{/foreach}
{if ($v.error_list)}

Error示例

{foreach $v.error_list as $i=>$vv}
{if ($vv.scene)}{$vv.scene}{else /}{$i+1}{/if}
{/foreach}
{foreach $v.error_list as $i=>$vv}

{if ($vv.des)}{$vv.des}{else /}暂无说明{/if}

{$vv.json|raw}
{/foreach}
{/if} {if ($v.content2)}

附加文档

{$v.content2|raw}
{/if}
{/foreach} {/foreach}