Comments (1)
你好,可通过config/apidoc.php的配置参数headers,实现所有接口的请求头公共参数,如某些接口不需要全局的参数,可在接口注解处加上特殊参数NotHeaders来让指定接口不自动加上全局参数。
from thinkphp-apidoc.
Related Issues (20)
- composer require hg/apidoc 安装不了提示没有包是为什么 HOT 1
- 作者可否有计划兼容webman框架呢? HOT 4
- 代码之前带有注释会解析错误 HOT 3
- 同一个控制器下,进行方法分类 HOT 1
- 关于tp6路由注解导致路径自动解析问题 HOT 1
- 上线后如何关闭api文档 HOT 1
- tp5.1使用bug HOT 1
- 报错了 tp6 加了https就报错了 HOT 1
- 控制器开启后缀配置,接口生成请求url错误,带着contrller HOT 1
- 可否支持restful风格自动生成呢? HOT 2
- ref里面再使用refmd解析不出来,不会显示查看按钮 HOT 3
- 本地composer安装好 输入/apidoc访问报错 HOT 5
- 看报错信息像是请求的地址与你的项目地址不一致,请检查前端配置文件`/apidoc/config.js`中的HTTP.HOSTS配置是否配置正确,可参考文档[https://hg-code.gitee.io/thinkphp-apidoc/config/page/#http-hosts](https://hg-code.gitee.io/thinkphp-apidoc/config/page/#http-hosts)如果是当前站点,可清空HOSTS配置
- 请问下 响应结果里面的code message 如何编辑 HOT 1
- setGlobalHeader 当value=undefined时照样会设置值
- 方法不存在: hg\apidoc\Controller::getApidoc()
- We're sorry but apidoc doesn't work properly without JavaScript enabled. Please enable it to continue.
- 这个错在怎么解决
- markdown 可以中英文切换吗
- 为什么ref上多语言失效了 字段描述
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thinkphp-apidoc.