Exemplo n.º 1
0
        public ActionResult SiteCMSBlockDelete()
        {
            string b_gid = Request["b_gid"] ?? string.Empty;

            int result = SiteServiceClass.Site_CMSBlock_DeleteByb_gid(b_gid);

            if (result > 0)
            {
                return(Json(new { success = true, errors = new { text = "删除成功" } }));
            }
            else
            {
                return(Json(new { success = false, errors = new { text = "删除失败" } }));
            }
        }