Dingo API 请求接口 404?

直接fork 的larabbs的项目,安装后请求『话题列表』等接口 ( http://localhost:8108/api/topics ),均提示:

message: "404 Not Found",
status_code: 404,
debug: {
line: 178,
file: "D:\jeff\code\larabbs\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php",
class: "Symfony\Component\HttpKernel\Exception\NotFoundHttpException",

env配置:

# API 配置
API_STANDARDS_TREE=prs
API_SUBTYPE=larabbs
API_DOMAIN=localhost:8108
API_PREFIX=api
API_VERSION=v1
API_DEBUG=true
API_CONDITIONAL_REQUEST=false
API_STRICT=false
API_DEFAULT_FORMAT=json

求大神一阵见血!

@李山河
你看我吊吗啊
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 8
你看我吊吗啊

......没有大佬 帮我解决吗

5年前 评论

遇到同样的问题

5年前 评论

API_DOMAIN 配置注释掉试试

5年前 评论

@JeffLi 你好,请问你解决了嘛? 我这没有配置dingo 直接在api.php 里写的路由,然后curl post的请求,也是报这个错误。。

5年前 评论
你看我吊吗啊

@gaoxiang 没,我关注点没在dingo上 所以没有下手处理

5年前 评论

@yanthink 去掉能访问了,但是 新的问题来了,求解~~感谢大神
Failed to authenticate because of bad credentials or an invalid authorization header,"status_code":401,
"debug":{
"line":113,
"file":"/www/wwwroot/bbs.xxx.com/vendor/dingo/api/src/Auth/Auth.php",
"class":"Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException",

5年前 评论

@yanthink 去掉能访问了,但是 新的问题来了,求解~~感谢大神
Failed to authenticate because of bad credentials or an invalid authorization header,"status_code":401,
"debug":{
"line":113,
"file":"/www/wwwroot/bbs.xxx.com/vendor/dingo/api/src/Auth/Auth.php",
"class":"Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException",

5年前 评论

@zhu106878723 错误信息不是写的很清楚吗

5年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!