コード例 #1
0
ファイル: OrderStatus.ashx.cs プロジェクト: uvbs/mmp
        /// <summary>
        ///删除
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        private string Delete(HttpContext context)
        {
            string orderStatusIds = context.Request["order_status_ids"];
            string msg            = "";
            var    isSuccess      = bllMall.DeleteOrderStatus(orderStatusIds, out msg);

            if (isSuccess)
            {
                resp.errmsg = "ok";
            }
            else
            {
                resp.errcode = 1;
                resp.errmsg  = msg;
            }
            return(ZentCloud.Common.JSONHelper.ObjectToJson(resp));
        }