示例#1
0
        public dynamic AddManager()
        {
            string     name    = Fun.Form("name");
            int        loginId = Fun.Form("loginId", 0);
            string     headImg = "../../img/default/default-a.png";
            ManagerBLL m       = new ManagerBLL();

            if (!m.AddManager(name, headImg, loginId))
            {
                return("失败");
            }
            else
            {
                return("成功");
            }
        }