怎么访问同一个路径下的路由?

Index整体里面有个index.htm,文件。现在我想访问它同级别的一个Goods页面。于是在index.htm里面有一个 ,

<a href="goods.php?id=620" target="_blank">

然后再路由里面是这么填写的`

Route::rule('goods/:id','index/Goods/index','get',['ext'=>'html|htm'],['id'=>'\d{1,3}']);

却有没有找到模块Goods错误
感觉不对劲,求助一下
image.png

    $request->cache($config['request_cache'], $config['request_cache_expire']);
        } else {
            throw new HttpException(404, 'module not exists:' . $module);
        }
阅读 698
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题