Beispiel #1
0
        public static string sqQuickPay(string sGameAbbre, string sUserName, decimal dPirce, string sTranID, string sRoleID)
        {
            if (!TransGBLL.TranIDVal(sTranID))
            {
                return("traniderr");
            }
            int iState = TransGBLL.TranIDStateSel(sTranID);

            if (iState == 1)
            {
                return("0");
            }
            else if (iState != 0)
            {
                return(string.Format("state:{0}", iState));
            }
            string sReturn = string.Empty;

            sReturn = sqGame.sqQucikPay(sGameAbbre, sUserName, dPirce, sTranID, sRoleID);
            return(sReturn);
        }
Beispiel #2
0
        public static string GameQuickPay(string sGameAbbre, string sUserName, decimal dPirce, string sTranID)
        {
            if (!TransGBLL.TranIDVal(sTranID))
            {
                return("traniderr");
            }
            int iState = TransGBLL.TranIDStateSel(sTranID);

            if (iState == 1)
            {
                return("0");
            }
            else if (iState != 0)
            {
                return(string.Format("state:{0}", iState));
            }
            string sReturn = string.Empty;
            string sGame   = GameInfoBLL.GameInfoAbbreSel(sGameAbbre).TrimEnd();

            switch (sGame)
            {
            case "sssg":
                sReturn = sssgGame.sssgQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "sxd":
                sReturn = sxdGame.sxdQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "lj":
                sReturn = ljGame.LJQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "dxz":
                sReturn = dxzGame.dxzQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "djj":
                sReturn = djjGame.djjQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "txj":
                sReturn = txjGame.txjQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "sjsg":
                sReturn = sjsgGame.sjsgQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "tzcq":
                sReturn = tzcqGame.tzcqQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "by":
                sReturn = byGame.byQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "swjt":
                sReturn = swjtGame.swjtQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "gcld":
                sReturn = gcldGame.gcldQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "khbd":
                sReturn = khbdGame.khbdQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "hyjft":
                sReturn = hyjftGame.hyjftQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "nslm":
                sReturn = nslmGame.nslmQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "yjxy":
                sReturn = yjxyGame.yjxyQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "dtgzt":
                sReturn = tgztGame.tgztQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "mhxy":
                sReturn = mhxyGame.mhxyQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "qxz":
                sReturn = qxzGame.qxzQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "qszg":
                sReturn = qszgGame.qszgQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "wwsg":
                sReturn = wwsgGame.wwsgQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "dntg":
                sReturn = dntgGame.dntgQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "jy":
                sReturn = jyGame.jyQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "sskc":
                sReturn = sskcGame.jyQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "ktpd":
                sReturn = ktpdGame.ktpdQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "mhtj":
                sReturn = mhtjGame.mhtjQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "jjp":
                sReturn = jjpGame.jjpQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "sgyjz":
                sReturn = sgyjzGame.sgyjzQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "dtgzter":
                sReturn = tgzt2Game.tgztQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;

            case "zwx":
                sReturn = zwxGame.zwxQucikPay(sGameAbbre, sUserName, dPirce, sTranID);
                break;
            }
            return(sReturn);
        }