摘要:
控制器超类的路由映射 自 jfinal 3.6 开始,控制器超类中的所有方法默认不会被映射为 action。(也就是自 jfinal 3.6 版本开始上例中 BaseController 中的 @NotAction 默认已经不需要了,因为 BaseController 是你最终控制器 XxxCont 阅读全文
posted @ 2023-12-18 22:46
听着DJ读童话
阅读(17)
评论(0)
推荐(0)
摘要:
jfinal 4.9.03 新增了路由扫描功能,扫描功能需要在 Controller 声明之处使用 @Path 注解,例如: @Path("/project") public class ProjectController extends Controller { ... } // 以下用法为 co 阅读全文
posted @ 2023-12-18 22:46
听着DJ读童话
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号