Comments (3)
你好,请描述一下bug的具体错误,或者有比较好的解决方案可以详细描述下哦,这句话不太明白具体是什么问题呢
from thinkphp-apidoc.
当controller 有继承的时候。这时候的父类的方法生成的url是有问题的 。。解决方法是ParseAnnotation.php -> autoCreateUrl($method)多传个参数 autoCreateUrl($refClass,$method) 以为$method 中的class 是父类的路径 。并不是当前controller 的路径
from thinkphp-apidoc.
感谢你的建议,现更新了v3.0.5版本已修正了该问题
from thinkphp-apidoc.
Related Issues (20)
- 同控制器下能不能通过接口分组 HOT 4
- 500错误,没有具体信息 HOT 5
- 如何避免和showdoc混用引发的问题 HOT 1
- 请问有没有支持可以下载导出接口文档的功能 HOT 1
- 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()
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.