解决ThinkPHP6 控制器不存在:app\controller\Index


https://blog.csdn.net/qq_39188306/article/details/103802661

https://www.yzlfxy.com/share/thinkphp/379871.html

复制vendor/composer/installed.json中的services值到vender/services的数组中

<?php 
// This file is automatically generated at:2022-04-18 16:22:08
declare (strict_types = 1);
return array (
    "think\\captcha\\CaptchaService","think\\app\\Service","think\\trace\\Service"
);

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM