/// <summary> /// 卡余额查询 /// </summary> protected String CardBalanceQuery() { String cardNo = Request["CardNo"]; String cardPwd = Request["CardPassword"]; String cardType = Request["CardType"]; long balance; Int32 Result = ErrorDefinition.CIP_IError_Result_UnknowError_Code; String ErrMsg = ErrorDefinition.CIP_IError_Result_UnknowError_Msg; //查询余额 Result = BesttoneAccountHelper.CardAuthen(cardNo, cardPwd, cardType, out balance, out ErrMsg); if (Result == 0) { return("[{\"result\":\"true\",\"balance\":\"" + BesttoneAccountHelper.ConvertAmountToYuan(balance) + "\"}]"); } else { return("[{\"result\":\"false\",\"info\":\"查询余额失败\"}]"); } }