Skip to content

一旦在路由中使用 绑定到命名空间namespace(),多级控制器提示类找不到 #3199

Description

@taoser

所属功能组件

路由(Route)

ThinkPHP 版本

8.1.4

操作系统

Linux

错误信息

“#0 [0]ClassNotFoundException in Callback.php line 108

类不存在:app\index\controller\user.blog

其它说明

Route::group('',function(){ Route::get('user/blog','user.Blog/index'); }) ->namespace('app\index\controller');

大概,think\route\Rule.php 699行 parseRule().字符没有转换

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions