示例#1
0
 public JsonResult DeleteMyUserTag(string spaceKey, long itemInTagId)
 {
     TagService tagService = new TagService(TenantTypeIds.Instance().User());
     tagService.DeleteTagFromItem(itemInTagId);
     if (itemInTagId > 0)
         return Json(new StatusMessageData(StatusMessageType.Success, "删除成功!"));
     else
         return Json(new StatusMessageData(StatusMessageType.Error, "删除失败!"));
 }