AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
本速查表里的类都是`think`为命名空间的,实例化时省去了` use`。用的时候注意。 本速查表里会有四种方法的调用: ~~~ 公有方法 $class = new Class(); $class->foo(); 公有静态 Class::foo(); 私有方法 $this->foo(); 私有静态 self::foo(); ~~~ 关于注释,为了简洁,`/** `的单行注释可以改为` // ` ~~~ /** * URL路由检测(根据PATH_INFO) * @access public * @param \think\Request $request * @param array $config * @return array * @throws \think\Exception */ App::routeCheck($request, $config) ~~~