TP5的ventor中第三方类库的加载和引用问题

浏览:1441 发布日期:2017/08/09 分类:ThinkPHP5专区 关键字: 自动加载 ThinkPHP tp第三方类库的引用
我的ventor中目录结构:ventor->Seaslog->SeasLog->CodeTips->SeasLog.class.php
SeasLog.class.php中命名空间为:namespace CodeTips;
在app中的php文件引用的时候use语句为:use CodeTips\SeasLog;
在文件中使用SeasLog类报错,提示Class 'CodeTips\SeasLog' not found
最佳答案
评论() 相关
后面还有条评论,点击查看>>