首页 / 开发笔记/ thinkcmf6.0 api路由文件不加载解决方案/
thinkcmf6.0 api路由文件不加载解决方案
1637935108 开发笔记 1810

thinkcmf6.x 的路由不加载解决方案,是api下的路由文件没加载导致的

以下是解决方案

\vendor\thinkcmf\cmf-route\src\Http.php

270行加入

include  "{$rootPath}vendor/thinkcmf/cmf-api/src/route.php";

image.png

对不起,该文章暂时不支持留言。
最新留言

No Data

瞎几把搞
因为美好的东西都是免费的,比如水、阳光和空气,所以本站资源免费
12年经验
加入QQ群 一起学习
cmf技术交流群:1019146869
系统由 ThinkCMF API +Nuxt + Ant Desgin驱动
湘ICP备2021016574号