示例#1
0
        /// <summary>
        /// 删除组用户
        /// </summary>
        /// <param name="userGroupId"></param>
        /// <returns></returns>
        public ActionResult DelGroup(string userGroupId)
        {
            int num = _userGroupService.Del(userGroupId.ToGuid());

            if (num > 0)
            {
                return(ToJsonResult(new { status = 0, msg = "ok" }));
            }
            else
            {
                return(ToJsonErrorResult(2, "删除失败"));
            }
        }