Example #1
0
        /// <summary>
        /// 更新标记
        /// </summary>
        /// <param name="item"></param>
        /// <param name="tags"></param>
        /// <returns></returns>
        public JsonResult UpdateTags(int item, string tags)
        {
            int tag;

            return(Json(new Dictionary <string, string>
            {
                { "result", Signing.IsUpdateTags(item, tags, out tag)? "success" : "error" },
                { "tag", tag.ToString(CultureInfo.InvariantCulture) }
            }));
        }