StartMVC更新日志

日志详情

重构路由,多种路由统一走一个入口(路由表),支持多种路由方式:
基本路由(配置数组/正则);
链式注册 Router::get/post/put/delete;
路由组(group 统一加前缀);
路由级中间件(某条路由要求登录);
RESTful 资源路由(resource 一行生成 7 条);
路由参数 :id/:num 占位符;
URL 后缀 .html 自动处理;
版本:v2.8.3
页面时间:2026-08-31
提交时间:2026-08-31 01:29
改动统计:+404 / -568 / 共972行
提交链接:https://gitee.com/shaobingme/startmvc/commit/c0cae40998c6de6226f1dd45bed6cf44426357f7

改动文件

  • 修改config/route.php
  • 修改startmvc/boot.php
  • 修改startmvc/core/App.php
  • 修改startmvc/core/Exception.php
  • 修改startmvc/core/Loader.php
  • 修改startmvc/core/Router.php
  • 新增startmvc/core/tpl/404.php