Exemplo n.º 1
0
        public JsonResult GetOrderPrice(GetOrderPriceRequest request)
        {
            GetOrderPriceResponse response = new GetOrderPriceResponse();

            response = bll.GetOrderPrice(request);
            return(Json(response));
        }
Exemplo n.º 2
0
        public GetOrderPriceResponse GetOrderPrice(GetOrderPriceRequest request)
        {
            GetOrderPriceResponse response = new GetOrderPriceResponse();

            response.Toprice = BaseBLL <OrderBLL> .Instance.GetOrderPrice(request.Ids);

            response.State = response.Toprice > 0 ? true : false;
            return(response);
        }
Exemplo n.º 3
0
 /// <summary>
 /// 获取订单的总价
 /// </summary>
 /// <returns></returns>
 public GetOrderPriceResponse GetOrderPrice(GetOrderPriceRequest request)
 {
     return(ApiRequestHelper.Post <GetOrderPriceRequest, GetOrderPriceResponse>(request));
 }