public Trade ConfirmOrder(int userId, int payFrom, string items, int couponId, DeliverAddress addr, string msg, string source, string traceReferer, string traceCode, out string errorMsg) { var result = _dal.ConfirmOrder(userId, payFrom, items, couponId, addr, msg, source, traceReferer, traceCode, out errorMsg); return(result); }
public Trade ConfirmOrder(int userId, int payFrom, string items, int couponId, DeliverAddress addr, string msg, string source, string traceReferer, string traceCode, out string errorMsg) { int errorCode; var result = Clients.TradeService.ConfirmOrder(userId, payFrom, items, couponId, addr, msg, source, traceReferer, traceCode, out errorCode, out errorMsg); //成功 if (errorCode == 1) { errorMsg = string.Empty; } return(result); }