package cn.yyxx.commsdk.core.network;

import android.content.Context;

import cn.yyxx.commsdk.core.utils.ParamsUtils;

public class Hosts {


    public static String HOST = "";

    public static final String  BASIC_URL_INIT_AGREEMENT = "agreement_init";

    public static final String  BASIC_URL_INIT_SDK = "activate";

    public static final String  BASIC_URL_FAST_REGISTER = "fast_register";
    public static final String  BASIC_URL_USER_LOGIN =  "user_login";
    public static final String  BASIC_URL_UPLOAD_ROLEINFO =   "report_role_info";
    public static final String  BASIC_URL_RECHARGE_INIT= "recharge_init";
    public static final String  BASIC_URL_CHANNEL_LOGIN = "channel_login";
    public static final String  BASIC_URL_GET_CAPTCHA = "phone_captcha";
    public static final String  BASIC_URL_PHONE_REGISTER =  "phone_register";
    public static final String  BASIC_URL_PHONE_RESETPWD =   "phone_reset_pwd";
    public static final String  BASIC_URL_UPLOAD_USER_ONLINE_ACTION = "rn_user_action";

    public static final String  BASIC_URL_ORDER_QUERY = "order_query";
    public static final String  BASIC_URL_AGREEMENT_INIT = HOST +  "/agreement_init";
    public static final String  BASIC_URL_SMS_LOGIN =   "phone_sms_login";
    public static final String  BASIC_URL_PAYMENTWAY = HOST +  "/payment_way";
    public static void initHost(Context context){
        HOST = ParamsUtils.getHost(context);
    }
    
}
