Beispiel #1
0
 /// <summary>
 /// 获取购物车商品总价
 /// </summary>
 /// <param name="context"></param>
 private void GetShoppingCartTotal(System.Web.HttpContext context)
 {
     context.Response.ContentType = "application/json";
     context.Response.Write("{\"success\":true,\"totalprice\":\"" + ShoppingCartProcessor.GetShoppingCartTotal() + "\"}");
 }