萝莉来了 v1.2.1版本的 MD5 值为:6055c21e001561c5b114d0da5b392fcb

以下内容为反编译后的 Urls.java 源代码,内容仅作参考


package com.egame.webfee.common;

import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.telephony.TelephonyManager;
import android.util.Log;
import cn.iyd.pay.alipay.AlixDefine;
import com.egame.utils.EgameDeviceUtils;
import com.egame.utils.PreferenceUtil;
import com.egame.webfee.beans.UserInfo;

public class Urls {
    public static final String BASE_URL = "http://202.102.39.13:8084/sns-clientV4/";
    public static final String URL = "http://202.102.39.13:8084";

    public static String getresultOfSMS(String gameUserId, String requestDay, String serialno, String smscontent) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/action/resultOfSMS.json?gameUserId=" + gameUserId + "&requestDay=" + requestDay + "&serialno=" + serialno + "&smscontent=" + smscontent;
        Log.d("URLS", "getresultOfSMS:" + s);
        return s;
    }

    public static String getFindPasswordUrl(Context context, String phone) {
        String s = "http://202.102.39.13:8084/sns-clientV4/four/user/retrievePassword.json?phone=" + phone + AlixDefine.split + getLogParams(context);
        L.d("URLS", "getFindPasswordUrl:" + s);
        return s;
    }

    public static String getUserRegisterUrl(String phone, String gender, Context context) {
        String s = "http://202.102.39.13:8084/sns-clientV4/four/user/userRegister.json?mobilePhone=" + phone + "&gender=" + gender + AlixDefine.split + getLogParams(context);
        L.d("URLS", "getUserRegisterUrl:" + s);
        return s;
    }

    public static String getMobilePhone(Context context, String imsi) {
        String s = "http://202.102.39.13:8084/sns-clientV4/four/basic/getMobilePhone.json?imsi=" + imsi + AlixDefine.split + getLogParams(context);
        L.d("URLS", "getMobilePhone:" + s);
        return s;
    }

    public static String getLoginUrl(Context context, String account, String clipher, String imsi) {
        String s = "http://202.102.39.13:8084/sns-clientV4/four/user/userLogin.json?account=" + account + "&cipher=" + clipher + "&imsi=" + imsi + AlixDefine.split + getLogParams(context);
        L.d("URLS", "getLoginUrl:" + s);
        return s;
    }

    public static String getValidateCodeTask(Context context, String phone) {
        String s = "http://202.102.39.13:8084/sns-clientV4/four/action/getValidateCode.json?phone=" + phone + AlixDefine.split + getLogParams(context);
        L.d("URLS", "getValidateCodeTask:" + s);
        return s;
    }

    public static String getLogParams(Context context) {
        int versionCode = 0;
        try {
            PackageInfo packageInfo = context.getPackageManager().getPackageInfo(context.getApplicationInfo().packageName, 0);
            versionCode = packageInfo.versionCode;
        } catch (PackageManager.NameNotFoundException e) {
            e.printStackTrace();
        }
        TelephonyManager telManager = (TelephonyManager) context.getSystemService("phone");
        String imsi = new StringBuilder(String.valueOf(telManager.getSubscriberId())).toString();
        String meid = telManager.getDeviceId();
        UserInfo userInfo = PreferenceUtil.getUserInfo(context);
        String userid = "0";
        String phoneNumber = "00000000000";
        if (userInfo != null) {
            userid = new StringBuilder().append(userInfo.getUserID()).toString();
            phoneNumber = userInfo.getPhoneNumber();
        }
        String ua = PreferenceUtil.getUa(context);
        String params = "LOGUSERID=" + userid + "&LOGUA=" + ua + "&CHANNEL=&SUBCHANNEL=&LOGIMSI=" + imsi + "&LOGMEID=" + meid + "&PHONENUM=" + phoneNumber + "&FROMER=10030302&LOGVERSION=" + versionCode;
        return params;
    }

    public static String getXmobo(String serialno, int gameId, int gameUserId, int money, int gameGold, String randomCode, String fromer, String validatecode) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/newPay/xmobo.json?serialno=" + serialno + "&money=" + money + "&gameId=" + gameId + "&gameGold=" + gameGold + "&gameUserId=" + gameUserId + "&randomCode=" + randomCode + "&fromer=" + fromer + "&validatecode=" + validatecode;
        return s;
    }

    public static String grtAlipayRequest(String serialno, int gameId, int gameUserId, int money, int gameGold, String fromer, String validatecode) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/newPay/alipayRequest.json?serialno=" + serialno + "&money=" + money + "&gameId=" + gameId + "&gameGold=" + gameGold + "&gameUserId=" + gameUserId + "&fromer=" + fromer + "&validatecode=" + validatecode;
        return s;
    }

    public static String grtBestpayRequest(String serialno, int gameId, int gameUserId, int money, int gameGold, String fromer, String validatecode, String phone) {
        String s = "http://202.102.111.27:8083/EOI/interface/sdk/YZFPay?serialno=" + serialno + "&money=" + money + "&mobilePhone=" + phone + "&gameId=222042&gameGold=10&gameUserId=" + gameUserId + "&fromer=90228257&validatecode=" + validatecode;
        System.out.println("s = " + s);
        return s;
    }

    public static String getEncryptKey(String fromer) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/action/getEncryptKey.json?fromer=" + fromer;
        return s;
    }

    public static String getRequestForSZFUrl(String serialno, int cardTypeNo, String cardno, String cipher, String denomination, int gameId, int gameUserId, int money, int gameGlod, String fromer, String validatecode) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/pay/requestForSZF.json?gameGold=" + gameGlod + "&serialno=" + serialno + "&cardType=" + cardTypeNo + "&cardno=" + cardno + "&cipher=" + cipher + "&denomination=" + denomination + "&money=" + money + "&gameId=" + gameId + "&gameUserId=" + gameUserId + "&fromer=" + fromer + "&validatecode=" + validatecode;
        return s;
    }

    public static String getResultOfSZFUrl(String transactionId) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/pay/resultOfSZF.json?transactionId=" + transactionId + "&FROMER=10030302";
        return s;
    }

    public static String getNetAidouPayUrl(String serialno, int USERID, int gameId, int gameUserId, int money, int gameGold, String fromer, String validatecode) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/pay/netAidouPay.json?serialno=" + serialno + "&USERID=" + USERID + "&money=" + money + "&gameId=" + gameId + "&gameGold=" + gameGold + "&gameUserId=" + gameUserId + "&fromer=" + fromer + "&validatecode=" + validatecode;
        return s;
    }

    public static String getAiDouBalance(String USERID) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/action/getAiDouBalance.json?USERID=" + USERID + "&FROMER=10030302";
        return s;
    }

    public static String getPayWayList(int gameId) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/action/payWayList.json?gameId=" + gameId + "&LOGIMSI=" + EgameDeviceUtils.getImis() + "&FROMER=10030302";
        return s;
    }

    public static String getChangeClickUrl(int gameId, String type, int actionId) {
        String s = "http://202.102.39.13:8084/sns-clientV4/BSDK/action/recordActioncode.json?gameId=" + gameId + "&type=" + type + "&actionId=" + actionId + "&IMSI=" + EgameDeviceUtils.getImis() + "&FROMER=10030302";
        return s;
    }
}