用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
系统的路由类文件位于 `thinkphp/library/think/Route.php`,路由类是一个静态类,要使用路由类,可以直接带命名空间调用类的方法: ~~~ \think\Route::rule('hello/:name','index/index/hello'); ~~~ 或者在文件的开头先use后调用: ~~~ use think\Route; Route::rule('hello/:name','index/index/hello'); ~~~