package com.zxhl.cms.common;

import android.Manifest;

/**
 * Created by gaoleichao on 2018/4/25.
 */

public class Constant {

    //公共参数
    String UMENG_APPKEY = "5d0dd39b570df3d7c5000d1a";

    String s = "D0EV7FZL45A5DVKD";

    public static final String scheme = "xxsqshop";

    public static int UPLOADMAXSIZE = 50;

    public static int UPLOADNUM = 5;

    public static String a = "D0EV7FZL45A5DVKD";
    public static String b = "E2Y1YREK2BYDAC5B";
    public static String WX_APPID = "wx38900bc915900f5c";
    public static String WX_APPKEY = "c15ac03e5797aee76cac1da3336276f8";
    public static String PAY_RESULT = "pay_result";
    public static String CHOSSEE_ADDRESS_RESULT = "chosse_address_result";


    public static int REQUEST_CODE_ASK_PERMISSIONS = 0x0101;

    public static class Permission {
        public static final String PERMISSION_CAMERA = Manifest.permission.CAMERA;

        public static final String PERMISSION_STORAGE = Manifest.permission.WRITE_EXTERNAL_STORAGE;
        public static final String PERMISSION_READ_STORAGE = Manifest.permission.READ_EXTERNAL_STORAGE;

        public static final String PERMISSION_FINE_LOCATION = Manifest.permission.ACCESS_FINE_LOCATION;

        public static final String PERMISSION_PHONE = Manifest.permission.READ_PHONE_STATE;//读取电话的状态

        public static final String PERMISSION_COARSE_LOCATION = Manifest.permission.ACCESS_COARSE_LOCATION;// 允许应用访问范围性的定位
    }

    public static class Key {
        public static String BYTE_DANCE_APP_ID = "";
        public static String BYTE_DANCE_APP_NAME = "";
        public static String BYTE_DANCE_AD_ID = "";
        public static String BYTE_DANCE_SPLASH_SLOT_ID = "";
        public static String BYTE_DANCE_FEED_SLOT_ID = "";

        public static String WX_LOGIN_APP_ID = "";
        public static String WX_LOGIN_KEY = "";

        public static String WX_SHARE_KEY = "";
        public static String WX_SHARE_APP_ID = "";

        public static String QQ_SHARE_APP_ID = "";
        public static String QQ_SHARE_KEY = "";

        public static String BAIDU_SDK_APP_ID = "";
        public static String BAIDU_SDK_AD_ID = "";

        public static String DFTT_APP_ID = "";
        public static String DFTT_KEY = "";

        public static String FEED_SLOT_ID = "";

        public static String SPLASH_SLOT_ID = "";

        public static String NEWS_DETAIL_GUIDE_SLOT_ID = "";

        public static String SEARCH_BOTTOM_SLOT_ID = "";

        public static String TIME_COINS_SLOT_ID = "";

        public static String LOCAL_NEWS_NAVIGATION_SLOT_ID = "";

        public static String UC_API_SLOT_ID = "";

        public static String UC_BANNER_SLOT_ID = "";

        public static String VIDEO_DETAIL_TOP_SLOT_ID = "";

        public static String VIDEO_DETAIL_BOTTOM_SLOT_ID = "";

        public static String UC_ACTIVITY_SLOT_ID = "";

        public static String UC_READ_SLOT_ID = "";

        public static String UC_HELP_CENTER_SLOT_ID = "";

        public static String UC_NAVIGATION_SLOT_ID = "";

        public static String UC_APPLICATION_SLOT_ID = "";

        public static String UC_LIST_SLOT_ID = "";

        public static String VIDEO_DETAIL_PROCESSBAR = "";

        public static String KKZ_SLOT_ID = "";

        public static String DDZ_SLOT_ID = "";

        public static String JSZ_SLOT_ID = "";

        public static String STEP_TOP_SLOT_ID = "";

        public static String STEP_BOTTOM_SLOT_ID = "";

        public static String VIDEO_LIST_SLOT_ID = "";


        public static String VIDEO_PROGRESS = "71";

        public static String AD_VIDEO_BYTE_DANCE = "";

        public static String AD_BANNER_BYTE_DANCE = "";

        public static String AD_FEED_GDT_APPID = "1107825841";

        public static String AD_FEED_GDT_SLOT_ID = "1080543741991946";
        public static String TEST_LOTTERY = "0";//试玩
        public static String ONE_LOTTERY = "1";//单抽
        public static String FIVE_LOTTERY = "2";//五连抽
        public static String RIGHTS_LOTTERY = "3";//会员奖励盒子开启
        public static String DOUBLE_LOTTERY = "4";//暴击抽
        public static String RE_PUMPING_ONE_LOTTERY = "5";//单抽重抽卡
        public static String RE_PUMPING_FIVE_LOTTERY = "6";//五连抽重抽卡
        public static String TWO_LOTTERY = "7";//两连抽
        public static String THREE_LOTTERY = "8";//三连抽
        public static String FOUR_LOTTERY = "9";//四连抽
        public static String SURPRISE_LOTTERY = "10";//弹窗惊喜抽
        public static String EPIC_CARD_LOTTERY = "11";//史诗卡
        public static String SELECT_LOTTERY = "12";//选择抽取（弹窗）
        public static String SELECT_LOTTERY_2 = "13";//选择抽取（页面）

    }

    public static class Switch {
        public static boolean isShowUpdateDialoging = false;
        public static boolean isOpenLogin = false;
        public static boolean isBindLogin = true;
        public static boolean isOpenPayTips = true;
        public static boolean isOpenVip = false;
        public static boolean isErrorKF = false;
    }

    public static class NewUserBox {
        public static String newUserBoxId = "";
        public static String newUserBoxPrice = "";
        public static String newUserBoxFivePrice = "";
        public static String newUserBoxMainImg = "";
        public static String newUserBoxMainName = "";

        public static String firstBoxId = "";
        public static String firstBoxPrice = "";
        public static String firstBoxMainImg = "";
        public static String firstBoxMainName = "";

        public static boolean isOpenGuideBox = false;

        //用于折扣的盒子id
        public static String openDisBoxId = "";
        public static String tempBoxId = "";
        public static String tempBoxPrice = "";
        public static String tempBoxMainImg = "";
        public static String tempBoxMainName = "";
    }


    public static final String UPDATE_TAB_INFO = "update_tab_info";
    public static final String UPDATE_VIDEO_TAB_INFO = "update_video_tab_info";
    public static final String OPEN_MAIN_PAGE = "main_page_open";
    public static final String UPDATE_SHAREDATA = "update_sharedata";
    public static final String JUMP_CLICK_AD = "jump_click_ad";
    public static final String SIGN_IN = "sign_in";
    public static final String HIDE_MAIN_FLOAT_ICON = "hide_main_float_icon";
    public static final String HIDE_MAIN_LOGIN_BTN = "hide_main_login_btn";
    public static final String SETVIDEOID = "set_video_id";
    public static final String UPDATEVIDEOPROGRESS = "update_video_progeress";
    public static final String UPDATE_MESSAGE_ICON = "update_message_icon";
    public static final String PAUSEORRESUMEVIDEOPROGRESS = "pause_or_resume_video_progeress";
    public static final String VIDEOPLAYEND = "video_play_end";
    public static final String UPDATEDEFILE = "update_de_file";
    public static final String UPDATEMESSAGELIST = "update_message_list";
    public static final String UPDATEEDITMESSAGELIST = "update_edit_message_list";
    public static final String SETALLEDITMESSAGELIST = "set_alledit_message_list";
    public static final String DELSELECTMESSAGELIST = "del_select_message_list";
    public static final String OPENORCLOSETASKPUSHDIALOG = "open_or_close_taskpush_dialog";
    public static final String UPDATE_REDPACKET_COUNT = "update_packet_count";
    public static final String UPDATE_WEATHER = "update_weathert";
    public static final String OPEN_CHANGE_GUIDE = "open_change_guide";
    public static final String OPEN_TASK_GUIDE = "open_task_guide";
    public static final String OPEN_VIDEO_GUIDE = "open_video_guide";
    public static final String UPDATE_MAIN_ACTIVITY = "update_main_activity";
    public static final String DOWNLOAD_FILE = "download_file";
    public static final String APP_ACTIVITY = "app_activity";
    public static final String INSTALL_APK = "install_apk";
    public static final String UPDATE_USERCENTER_STEP_COUNT = "update_usercenter_step_count";
    public static final String SAVE_STEP_COUNT = "save_step_count";
    public static final String REFRESH_VIDEO_DATA = "refresh_video_data";
    public static final String REFRESH_VIDEO = "refresh_video";
    public static final String REFRESH_NEWS_DATA = "refresh_news_data";
    public static final String REFRESH_LOGIN_STATS = "refresh_login_stats";
    public static final String SWITCH_PAGE = "switch_page";
    public static final String REFRESH_NEWS = "refresh_news";
    public static final String REFRESH_TASK_DATA = "refresh_task_data";
    public static final String order_data_update = "order_data_update";
    public static final String swith_fragment = "swith_fragment";
    public static final String finish_activity = "finish_activity";


    public static final String SCREENON = "screenon";

    public static final String h = "h";//屏幕高度
    public static final String w = "w";//屏幕宽度
    public static final String model = "model";//设备型号
    public static final String vendor = "vendor";//生产厂商
    public static final String svn = "svn";//android系统版本号
    public static final String ntt = "ntt";//网络环境，wifi，3G等
    public static final String token = "token";//用户标识，微信登录以后，会根据使用微信的用户标识
    public static final String vc = "vc";//应用version code
    public static final String vn = "vn";//应用version name
    public static final String ts = "ts";//客户端生成数据的时间戳
    public static final String ip = "ip";//客户端IP地址
    public static final String aid = "aid";//android id，用户设备唯一标识
    public static final String cash = "cash";//提现金额
    public static final String alipay_name = "alipay_name";//支付宝姓名
    public static final String alipay_account = "alipay_account";//支付宝账号
    public static final String type = "type";//用户阅读奖励，type值为2
    public static final String coins = "coins";//金币数
    public static final String pn = "pn";//页数
    public static final String ps = "ps";//页大小
    public static final String invite_code = "invite_code";//邀请码
    public static final String sign = "sign";
    public static final String md5 = "md5";
    public static final String rpid = "rpid";
    public static final String device = "device";//唯一标识
    public static final String carrier = "carrier";
    public static final String demd5 = "demd5";//唯一标识
    public static final String mac = "mac";//mac
    public static final String source = "source";//渠道
    public static final String imei = "imei";//全球唯一标识
    public static final String platform = "platform";//平台
    public static final String env = "env";
    public static final String cv = "cv";
    public static final String lat = "lat";
    public static final String lon = "lon";
    public static final String imsi = "imsi";
    public static final String locationtype = "locationtype";
    public static final String city = "city";
    public static final String ssid = "ssid";
    public static final String mitoken = "mitoken";
    public static final String pkg = "pkg";
    public static final String ua = "ua";
    public static final String flowTag = "flowTag";


    public static final String UPDATE_DOWNLOAD_FILE_PROGRESS = "update_download_file_progress";


    public static class Param {
        public static final String mPacketName = "com.zxhl.shop";
        public static boolean isLocal = mPacketName.equals("com.zx.localnews");
        public static String APPLS = "5f758837834488be";
        public static String androidId = "";
        public static String carrier = "";
        public static String h = "";
        public static String w = "";
        public static String model = "";
        public static String vc;
        public static String vn = "";
        public static String device = "";
        public static String mac = "";
        public static String source = "";
        public static String imei = "";
        public static String ua = "";
        public static String ntt = "";
        public static String svn = "";
        public static String uid = "";
        public static String vendor = "";
        public static String cv = "";
        public static String token = "";
        public static String md5 = "";
        public static String env = "";
        public static String userAgent = "";
        public static String flowTag = "";

        public static String lat = "";
        public static String imsi = "";
        public static String lon = "";
        public static String city = "";

        public static String ime = "";

        public static String ssid = "";

        public static String miToken = "";

        public static String locationType = "";

        public static String weather_location = "";
    }


    public static class Device {
        public static final String h = "h";
        public static final String w = "w";
        public static final String model = "model";
        public static final String vendor = "vendor";
        public static final String svn = "svn";
        public static final String env = "env";
        public static final String cv = "cv";
        public static final String ntt = "ntt";
        public static final String vc = "vc";
        public static final String vn = "vn";
        public static final String ts = "ts";
        public static final String aid = "aid";
        public static final String device = "device";
        public static final String carrier = "carrier";
        public static final String mac = "mac";//mac
        public static final String imei = "imei";//全球唯一标识
        public static final String platform = "platform";//平台
        public static final String imsi = "imsi";
        public static final String ssid = "ssid";
        public static final String ip = "ip";
        public static final String oaid = "oaid";
        public static final String pkg = "pkg";
        public static final String uid = "uid";
        public static final String token = "token";
        public static final String source = "source";
        public static final String ua = "ua";
        public static final String lat = "lat";
        public static final String lon = "lon";
        public static final String locationtype = "locationtype";
        public static final String city = "city";
        public static final String flowTag = "flowTag";

    }
    public static class Utils {
        public static String userId = "";
        public static String ReportSessionId = "";
        public static boolean isReportXiaoman = true;
        public static boolean isTimingReport = true;
        public static boolean isOpenSound = true;
        public static boolean isOpenVibrate = true;
    }

}
