package com.newvideo.util;
|
|
import javax.persistence.Entity;
|
|
@Entity
|
public class Constant {
|
public static boolean isUpdate = false;// 是否在上传应用市场;
|
|
public static boolean IsOutNet = false;// 是否为外网
|
|
public static boolean JobTasker = true;
|
|
public static int pageCount = 20;
|
public static int HOT_SEARCH_COUNT = 20;
|
|
// 1-每日打开送积分 2-观看视频送积分 3-缓存视频送积分 4-搜藏视频送积分 5-分享送积分 6-连续观看 7-评价 8-建议
|
public final static int GET_SCORE_OPEN = 1;
|
public final static int GET_SCORE_WATCH = 2;
|
public final static int GET_SCORE_SAVE = 3;
|
public final static int GET_SCORE_COLLECTION = 4;
|
public final static int GET_SCORE_SHARE = 5;
|
public final static int GET_SCORE_CONTINUE_WATCH = 6;
|
public final static int GET_SCORE_EVALUATE = 7;
|
public final static int GET_SCORE_ADVICE = 8;
|
|
public final static String RANDKEY = "randkey";
|
|
public final static String RANDOMCODE = "RANDOM_CODE";
|
public final static String ADMIN = "ADMIN_INFO";
|
public final static String WEBSITE = "video.yeshitv.com:8089";//
|
// public final static String WEBSITE = "115.28.20.162:8080";
|
public final static String ROOT_UPLOAD = "C:/software/Tomcat 6.0/webapps/BeiBeiVideo/upload/video";
|
|
public final static String[] YEARS = { "全部", "2016", "2015", "2014", "2013", "2012", "2011", "00年代", "90年代",
|
"80年代" };
|
|
public final static String[] POJIE_LIST = { "http://www.fun.tv/"
|
// "http://m.fun.tv/", "http://www.hunantv.com/",
|
// "http://m.hunantv.com/", "http://www.wasu.cn/",
|
// "http://v.ku6.com/", "http://m.ku6.com",
|
// "http://ps.beva.cn", "http://m.tv.sohu.com/",
|
// "http://tv.sohu.com/", "http://www.acfun.tv/", "leshivip=1",
|
// "http://www.le123.com", "http://cms.cztv.com",
|
// "https://dqplayers.duapp.com/", "http://v.youku.com",
|
// "http://www.tudou.com", "http://tv.ifeng.com/film",
|
// "http://v.pptv.com", "http://www.letv.com",
|
// "http://www.le.com"
|
};
|
|
public final static boolean IsDebug = true;
|
|
public final static boolean IOSTest = false;
|
|
public final static String SOLR_URL = "http://121.42.58.49:8080/solr/YSDQ/";
|
// public final static String ROOT_UPLOAD =
|
// "D:/workspace/web/.metadata/.me_tcat/webapps/BeiBeiVideo/upload/video";
|
|
// Android广告位
|
public static int AD_COMMON_ANDROID_FOUND_SPECIAL = 1;
|
public static int AD_COMMON_ANDROID_FOUND_APPHUI = 2;
|
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_DIANYING = 5;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_DIANSHIJU = 6;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_ZONGYI = 7;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_DONGMAN = 8;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_YULE = 9;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_YOUXI = 10;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_SHENGHUO = 11;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_KEJI = 12;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_TIYU = 13;
|
public static int AD_COMMON_ANDROID_CLASS_RECOMMEND_YUEWU = 14;
|
|
// IOS广告位
|
public static int AD_COMMON_IOS_FOUND_SPECIAL = 3;
|
public static int AD_COMMON_IOS_FOUND_APPHUI = 4;
|
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_DIANYING = 15;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_DIANSHIJU = 16;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_ZONGYI = 17;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_DONGMAN = 18;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_YULE = 19;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_YOUXI = 20;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_SHENGHUO = 21;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_KEJI = 22;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_TIYU = 23;
|
public static int AD_COMMON_IOS_CLASS_RECOMMEND_YUEWU = 24;
|
|
public static int VERSION_NEW_ANDROID_V2 = 35;// 新版版本号
|
public static int VERSION_NEW_IOS_V2 = 15;// 新版版本号
|
|
}
|