public bool ReserveBitPayZH(string ProxyNo, string ReserveID, string OrderID, decimal Amount, string PKID, string OnlineOrderID) { try { WXServiceCallback callback = new WXServiceCallback(); return(callback.ReserveBitPay(ProxyNo, ReserveID, OrderID, Amount, PKID, OnlineOrderID)); } catch (Exception ex) { logger.Fatal("预约支付异常:WXReserveBitPayZH()" + ex.Message + "\r\n"); } return(false); }
public string ReservePKBitZH(string ProxyNo, string AccountID, string BitNo, string parking_id, string AreaID, string license_plate, DateTime start_time, DateTime end_time) { WXReserveBitResult result = new WXReserveBitResult(); result.code = -1; result.message = "预定车位失败"; result.BitNo = BitNo; try { WXServiceCallback callback = new WXServiceCallback(); return(callback.ReservePKBit(ProxyNo, AccountID, BitNo, parking_id, AreaID, license_plate, start_time, end_time)); } catch (Exception ex) { logger.Fatal("车位预定异常:WXReservePKBitZH()" + ex.Message + "\r\n"); } return(JsonHelper.GetJsonString(result)); }