Esempio n. 1
0
        public JsonResult AbortLike(int target_id, int optionType)
        {
            if (Common.AbortLike(target_id, optionType))
            {
                //此处 删除用户行为信息
                UserActionRecord.DelRecommend(Common.UserInfo.User_ID, target_id, optionType);

                return(Json("{'status':'1'}"));
            }
            else
            {
                return(Json("{'status':'0';'error':'" + error + "'}"));
            }
        }