public void ProcessRequest(HttpContext context) { string cardcouponStatus = context.Request["cardcoupon_status"]; string isCanUse = context.Request["is_can_use"]; //可以正常使用的标识 string cardcouponType = context.Request["cardcoupon_type"]; //可以正常使用的标识 int count = bllCardCoupon.GetCardCouponCount(bllCardCoupon.WebsiteOwner, CurrentUserInfo.UserID, cardcouponStatus, isCanUse, cardcouponType); apiResp.status = true; apiResp.code = (int)ZentCloud.BLLJIMP.Enums.APIErrCode.IsSuccess; apiResp.result = count; bllCardCoupon.ContextResponse(context, apiResp); }