类 SysUnitController


  • @IocBean
    @At("/platform/sys/unit")
    public class SysUnitController
    extends Object
    Created by wizzer on 2016/6/24.
    • 构造器详细资料

      • SysUnitController

        public SysUnitController()
    • 方法详细资料

      • index

        @At("")
        @Ok("beetl:/platform/sys/unit/index.html")
        public Object index()
      • add

        @At
        @Ok("beetl:/platform/sys/unit/add.html")
        public Object add​(@Param("pid")
                          String pid)
      • addDo

        @At
        @Ok("json")
        @SLog(tag="\u65b0\u5efa\u5355\u4f4d",
              msg="\u5355\u4f4d\u540d\u79f0:${args[0].name}")
        public Object addDo​(@Param("..")
                            cn.wizzer.app.sys.modules.models.Sys_unit unit,
                            @Param("parentId")
                            String parentId,
                            javax.servlet.http.HttpServletRequest req)
      • child

        @At("/child/?")
        @Ok("beetl:/platform/sys/unit/child.html")
        public Object child​(String id)
      • detail

        @At("/detail/?")
        @Ok("beetl:/platform/sys/unit/detail.html")
        public Object detail​(String id)
      • edit

        @At("/edit/?")
        @Ok("beetl:/platform/sys/unit/edit.html")
        public Object edit​(String id,
                           javax.servlet.http.HttpServletRequest req)
      • editDo

        @At
        @Ok("json")
        @SLog(tag="\u7f16\u8f91\u5355\u4f4d",
              msg="\u5355\u4f4d\u540d\u79f0:${args[0].name}")
        public Object editDo​(@Param("..")
                             cn.wizzer.app.sys.modules.models.Sys_unit unit,
                             @Param("parentId")
                             String parentId,
                             javax.servlet.http.HttpServletRequest req)
      • delete

        @At("/delete/?")
        @Ok("json")
        @SLog(tag="\u5220\u9664\u5355\u4f4d",
              msg="\u5355\u4f4d\u540d\u79f0:${args[1].getAttribute(\'name\')}")
        public Object delete​(String id,
                             javax.servlet.http.HttpServletRequest req)
      • tree

        @At
        @Ok("json")
        public Object tree​(@Param("pid")
                           String pid)