类 WxReplyTxtController


  • @IocBean
    @At("/platform/wx/reply/txt")
    public class WxReplyTxtController
    extends Object
    Created by Wizzer on 2016/7/5.
    • 构造器详细资料

      • WxReplyTxtController

        public WxReplyTxtController()
    • 方法详细资料

      • index

        @At("")
        @Ok("beetl:/platform/wx/reply/txt/index.html")
        public void index()
      • add

        @At
        @Ok("beetl:/platform/wx/reply/txt/add.html")
        public void add()
      • addDo

        @At
        @Ok("json")
        @SLog(tag="\u6dfb\u52a0\u56de\u590d\u6587\u672c",
              msg="\u6587\u672c\u6807\u9898:${args[0].title}")
        public Object addDo​(@Param("..")
                            cn.wizzer.app.wx.modules.models.Wx_reply_txt txt,
                            javax.servlet.http.HttpServletRequest req)
      • edit

        @At("/edit/?")
        @Ok("beetl:/platform/wx/reply/txt/edit.html")
        public Object edit​(String id)
      • editDo

        @At
        @Ok("json")
        @SLog(tag="\u4fee\u6539\u56de\u590d\u6587\u672c",
              msg="\u6587\u672c\u6807\u9898:${args[0].title}")
        public Object editDo​(@Param("..")
                             cn.wizzer.app.wx.modules.models.Wx_reply_txt txt,
                             javax.servlet.http.HttpServletRequest req)
      • delete

        @At("/delete/?")
        @Ok("json")
        @SLog(tag="\u5220\u9664\u56de\u590d\u6587\u672c",
              msg="\u6587\u672c\u6807\u9898:${args[1].getAttribute(\'title\')}}")
        public Object delete​(String id,
                             javax.servlet.http.HttpServletRequest req)
      • deletes

        @At("/delete")
        @Ok("json")
        @SLog(tag="\u5220\u9664\u56de\u590d\u6587\u672c",
              msg="ID:${args[0]}")
        public Object deletes​(@Param("ids")
                              String id,
                              javax.servlet.http.HttpServletRequest req)
      • data

        @At
        @Ok("json:full")
        public Object data​(@Param("length")
                           int length,
                           @Param("start")
                           int start,
                           @Param("draw")
                           int draw,
                           @Param("::order")
                           List<cn.wizzer.framework.page.datatable.DataTableOrder> order,
                           @Param("::columns")
                           List<cn.wizzer.framework.page.datatable.DataTableColumn> columns)