Esempio n. 1
0
 /// <summary>
 /// 获取购物车商品数量
 /// </summary>
 /// <param name="context"></param>
 private void GetShoppingCartGoodNum(System.Web.HttpContext context)
 {
     context.Response.ContentType = "application/json";
     context.Response.Write("{\"success\":true,\"num\":\"" + ShoppingCartProcessor.GetShoppingCartNum() + "\"}");
 }