Ejemplo n.º 1
0
        public JsonResult BatchDeleteT(string ids)
        {
            var topicIds = ids.GetArray();

            if (topicIds.Length == 0)
            {
                return(Json(new { result = 0, msg = "没有选择要删除的主题" }, JsonRequestBehavior.AllowGet));
            }
            _bbsService.BatchDeleteTopics(topicIds);
            return(Json(new { result = 1, msg = RetechWing.LanguageResources.Common.DeleteSuccess }, JsonRequestBehavior.AllowGet));
        }