Exemplo n.º 1
0
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        private string Delete(HttpContext context)
        {
            string propValueId = context.Request["property_value_id"];//属性ID
            bool   result      = bllMall.DeleteProductPropertyValue(propValueId);

            if (result)
            {
                resp.errcode = 0;
                resp.errmsg  = "ok";
            }
            else
            {
                resp.errcode = 1;
                resp.errmsg  = "删除商品特征量值失败";
            }

            return(ZentCloud.Common.JSONHelper.ObjectToJson(resp));
        }