项目简介


项目介绍

{{$project->title}}

{{$project->typeLabel}}

{{$project->updated_at}}

{{date('Y-m-d H:i:s')}}

{{$project->remark}}

{{foreach $project->modules as $module}}

{{$module->title}}


{{foreach $module->apis as $api}}

{{$api->requestMethodLabel}} {{$api->title}} {{$api->uri}}

接口地址
{{foreach $api->module->project->envs as $env}} {{/foreach}}
{{$env->title}}({{$env->name}}) {{$env->base_url}}{{$api->uri}}
{{if isset($api->field->headerAttributes)}}
Header参数
{{foreach $api->field->headerAttributes as $header}} {{/foreach}}
参数名 参数标题 参数类型 必填 参数值 备注说明
{{if $header->level}} {{str_repeat('   ', $header->level)}} {{/if}} {{$header->name}} {{$header->title}} {{$api->field->fieldTypeLabels[$header->type]}} {{$api->field->requiredLabels[$header->required]}} {{$header->value}} {{$header->remark}}
{{/if}}
请求参数
{{foreach $api->field->requestAttributes as $request}} {{/foreach}}
参数名 参数标题 参数类型 必填 示例值 备注说明
{{if $request->level}} {{str_repeat('   ', $request->level)}} {{/if}} {{$request->name}} {{$request->title}} {{$api->field->fieldTypeLabels[$request->type]}} {{$api->field->requiredLabels[$request->required]}} {{$request->example_value}} {{$request->remark}}
响应参数
{{foreach $api->field->responseAttributes as $response}} {{/foreach}}
参数名 参数标题 参数类型 示例值 备注说明
{{if $response->level}} {{str_repeat('   ', $response->level)}} {{/if}} {{$response->name}} {{$response->title}} {{$api->field->fieldTypeLabels[$response->type]}} {{$response->example_value}} {{$response->remark}}
{{/foreach}} {{/foreach}}

{{config('app.copyright')}} Build By PHPRAP