Exemple #1
0
        public void Delete(HttpContext context)
        {
            string text = context.Request.Form["ids"];

            if (string.IsNullOrEmpty(text))
            {
                throw new HidistroAshxException("错误的参数");
            }
            WxJsonResult wxJsonResult = WXStoreHelper.DeletePage(text.ToLong(0));

            if (wxJsonResult.errcode.Equals(ReturnCode.请求成功))
            {
                base.ReturnSuccessResult(context, "删除成功!", 0, true);
            }
        }