public static int GameSalesCommit(string sTranID, string sAccount, string sGameName) { int iRes = TransGDAL.GaemSalesCommit(sTranID, sAccount, sGameName); if (0 == iRes) { PInfoSendToU.gamepaysend(sTranID); } return(iRes); }
public static int PointSalesCommit(string sTranID, string sAccount, decimal dPrice) { int iRes = -1; if (TranIDVal(sTranID)) { int iState = TranIDStateSel(sTranID); if (iState == 0) { iRes = TransPDAL.PointSalesCommit(sTranID, sAccount, dPrice); if (0 == iRes) { PInfoSendToU.pointpaysend(sTranID); } } else if (iState == 1) { iRes = 0; } } return(iRes); }