Url:

目录

1 功能说明

1.1 接口名

1.2 版本号

1.3 接口说明

1.4 接口状态

1.5 ContentType类型

2 接口调用说明

2.1 URL

2.2 Mock地址

2.3 HTTP请求方式

2.4 请求头说明

2.5 输入参数说明

2.6 返回参数说明

2.7 正确返回示例

2.8 错误返回示例

2.9 状态码

1 功能说明
1.1 接口名
{{model.interfaceName}}
1.2 版本号
1.3 接口说明
1.4 接口状态
1.5 返回contentType类型
2 接口调用说明
2.1 URL
{{model.moduleUrl}}{{model.url}}
2.2 Mock地址
正确数据URL
错误数据URL
2.3 HTTP请求方式
{{model.method|removeLast:','}}
2.4 请求头说明
名称 必填 类型 默认值 备注
{{item.realName}} {{item.necessary}} {{item.type}} {{item.def}} {{item.remark}}
2.5 输入参数说明
自定义参数(Custom)
{{model.param}}
名称 必填 参数位置 类型 默认值 备注
{{item.realName}} {{item.necessary}} 请求URL 普通参数 {{item.type}} {{item.def}} {{item.remark}}
2.6 返回参数说明
名称 类型 是否必须 备注
{{item.realName}} {{item.type}} {{item.necessary}} {{item.remark}}
2.7 正确返回示例
{{model.trueExam}}
2.8 错误返回示例
{{model.falseExam}}
2.9 状态码
Code Msg
{{item.errorCode}} {{item.errorMsg}}