Configs.java
11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package com.cnlive.goldenline;
import android.support.annotation.NonNull;
/**
* Created by zuoxian on 15/9/7.
*/
public class Configs {
public static final String CNLIVE_APP_ID = "117_itdq3xbv08";
public static final int VIDEO_DESIGN_HEIGHT = 203;
public static final float CUT_HEIGHT_LTE = 0.6f;
public static final float CUT_HEIGHT = 5f;
public static final String TEST_DES = "百老汇大道(Broadway)为纽约市重要的南北向道路,南起巴特里公园(Battery Park),由南向北纵贯曼哈顿岛。由于此路两旁分布着为数众多的剧院,是美国戏剧和音乐剧的重要发扬地,“百老汇”因此成为了音乐剧的代名词。";
public static final String TEST_TTILE = "百老汇纪念歌剧《JERSEY BOYS》";
public static final String TEST_VIDEO = "rtmp://live.hkstv.hk.lxdns.com/live/hks";
public static final String PORTRAIT1 = "http://shtml.asia-cloud.com/ZZSY/touxiang2.png";
public static final String PORTRAIT2 = "http://i1.mopimg.cn/img/tt/2016-12/1126/20161223141738608.jpeg790x600.jpeg";
public static final String PORTRAIT3 = "http://i1.mopimg.cn/img/tt/2016-12/1263/20161223141740368.jpeg790x600.jpeg";
public static final String PORTRAIT4 = "http://i1.mopimg.cn/img/tt/2016-12/1343/20161223141756942.jpeg790x600.jpeg";
public static final String PORTRAIT5 = "http://i1.mopimg.cn/img/tt/2016-12/1343/20161223141756942.jpeg790x600.jpeg";
public static final String PORTRAIT6 = "http://i1.mopimg.cn/img/tt/2016-12/193/20161223141736601.jpeg790x600.jpeg";
public static final String PORTRAIT7 = "http://i1.mopimg.cn/img/tt/2016-12/1294/20161223141740632.jpeg790x600.jpeg";
public static final String PORTRAIT8 = "http://y3.ifengimg.com/cmpp/2016/02/23/14/384d9c62-fb6e-4a31-a3c1-cb5d4f26afad_size39_w500_h375.jpg";
public static final String TEST_IMG = "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1487767411741&di=7a2414c1dc68bf1bbf1f558e55fe26ed&imgtype=0&src=http%3A%2F%2Fpic2.ooopic.com%2F12%2F13%2F96%2F45bOOOPICe8_1024.jpg";
public static final int BANNER_INTERVAL = 3000;
public static final int PROGRAM_STATE_REPLAY = 0; // 回播
public static final int PROGRAM_STATE_LIVE = 1; // 直播
public static final int PROGRAM_STATE_SUBSCRIBE = 2; // 预约
@NonNull
public static String PLAYSOURCEKEY = "PLAY_SOURCE_KEY";//播放流
//extend1 0为直播 1为点播 2为按次广播 3为直播间 4合集 5专题 6 h5 7活动 8主播直播 9直播回放
public static final String LIVE_CONT = "0";
public static final String CONT = "1";
public static final String FM_CONT = "2";
public static final String HOST_LIVE_CONT = "3";
public static final String LIVESHOW_LIST = "4";
public static final String SUBJECT = "5";
public static final String HFive = "6";
public static final String ACTIVITY = "7";
public static final String ANCHOR_LIVE = "8";
public static final String ANCHOR_REPLAY = "9";
@NonNull
public static String GOLD_NUM = "0";
//弹幕字体颜色
@NonNull
public static String DANMAKU_TEXT_COLOR_1 = "1";
@NonNull
public static String DANMAKU_TEXT_COLOR_2 = "2";
@NonNull
public static String DANMAKU_TEXT_COLOR_3 = "3";
@NonNull
public static String DANMAKU_TEXT_COLOR_4 = "4";
@NonNull
public static String DANMAKU_TEXT_COLOR_5 = "5";
@NonNull
public static String DANMAKU_TEXT_COLOR_6 = "6";
//弹幕类型
@NonNull
public static String DANMAKU_TYPE_RIGHTTOLEFT = "1";
@NonNull
public static String DANMAKU_TYPE_TOP = "5";
@NonNull
public static String DANMAKU_TYPE_BOTTOM = "4";
//弹幕字体大小
@NonNull
public static String DANMAKU_TEXT_SIZE_1 = "13";
@NonNull
public static String DANMAKU_TEXT_SIZE_2 = "14";
//弹幕开关
@NonNull
public static String DANMAKU_CLOSE = "2";
@NonNull
public static String DANMAKU_OPEN = "1";
//弹幕选择
@NonNull
public static String DANMAKUTEXTSIZE = "1001";
@NonNull
public static String DANMAKUTYPE = "1002";
@NonNull
public static String DANMAKUTEXTCOLOR = "1003";
@NonNull
public static String SELECTPLAYTYPE = "流畅";
@NonNull
public static String IsShowTouchView = "1"; //是否显示触摸屏 1:为打开,0:为关闭
public static final String APP_ID = "wx0db7f9dc6fc31cc3"; //微信支付
/* * * * * * * * * * * * * * * 以下为URL 链接配置 * * * * * * * * * */
public static final String TEST_PAYCOULD = "https://api.cnlive.com";
public static final String URL_TEST = "http://120.92.201.169:80";
private static final String URL_ONLINE = "http://api2017.shineup.com.cn";
public static final String URL_SERVER = URL_ONLINE;
//
// public String serverURL() {
// return BuildConfig.LOG_DEBUG ? URL_TEST : URL_ONLINE;
// }
// public static final String NEW_CMS_URL1="http://res1.tv.cmvideo.cn:8088/migutv/json";//miguCS
// public static final String CCX_SHARE="http://app.shineup.com.cn/goldenline/html/goldenline_share.html?";//陈春翔的分享链接 节目类型contype;节目标题title ; 节目contid;
// public static final String LOGON="http://app.shineup.com.cn/goldenline/html/image/logo2.png";//图片地址
// public static final String CCX_MAKE_MONEY_LOGO="http://120.131.13.185/goldenline/12345.png"; //我要赚钱模块 分享图片
// public static final String CCX_MAKE_MONEY="http://app.shineup.com.cn/goldenline/html/loginPay/loginPay.html?"; //分享H5接口
//更换过ip地址之后的链接
public static final String CCX_SHARE = "http://app.shineup.com.cn/goldenline/html/goldenline_share.html?";//陈春翔的分享链接 节目类型contype;节目标题title ; 节目contid;
public static final String CCX_SHARE_ZHIBO = "http://app.shineup.com.cn/goldenline/html/goldenline_share_live.html?";//陈春翔的分享链接 节目类型contype;节目标题title ; 节目contid;
public static final String LOGON = "https://img.shineup.com.cn/goldenline/html/image/logo2.png";//图片地址
public static final String CCX_MAKE_MONEY_LOGO = "https://img.shineup.com.cn/goldenline/12345.png"; //我要赚钱模块 分享图片
public static final String CCX_MAKE_MONEY = "http://app.shineup.com.cn/goldenline/html/loginPay/loginPay.html?"; //分享H5接口
public static final String WX_UNIONID = "https://api.weixin.qq.com/sns";
//https://api.weixin.qq.com/sns/userinfo?access_token=lltPIY375Shh_15Vs_laUh4u9XzsYI_xvw05mQesOYam1-mqgD9_sPmQipZY6D5snX8yVmi8tynGNXbwxCKxz7BFgGW6xVixOfx9Of8VmnM&openid=oZnTFv8et7WMNh73HphzOe7dooGE
//oZnTFv8et7WMNh73HphzOe7dooGE
// public static final String SJR_URL="http://app.shineup.com.cn:8080/goldenline-portal-clt"; //司景瑞的接口地址 开通vip//http://app.shineup.com.cn:8080/goldenline-portal-clt/renewalMoneyVIP.html?setmealId=1&uid=201605191058150000000000000043
public static final String SJR_URL = "https://api.shineup.com.cn/goldenline-portal-clt"; //司景瑞的改变了的接口地址 开通vip//http://app.shineup.com.cn:8080/goldenline-portal-clt/renewalMoneyVIP.html?setmealId=1&uid=201605191058150000000000000043
public static final String MY_WALLECT = "http://localhost:8090";
// http://10.10.51.176:8090/portal/recharge/generalOrder
// public static final String LXH_URL="http://app.shineup.com.cn/data/goldenline";//陆新华的正式接口地址 //http://app.shineup.com.cn/data/goldenline/recommend/index.json 2.0版本json
public static final String LXH_URL = "https://res.shineup.com.cn/data/goldenline";//陆新华的改变了的接口地址 //http://app.shineup.com.cn/data/goldenline/recommend/index.json 2.0版本json
//http://app.shineup.com.cn/data/goldenline/recommend/index21.json 2.1版本json
//http://app.shineup.com.cn/data/goldenline/heji/1/hj.json 合集的json
public static final String TAB = "http://120.92.5.161:8080/goldenline-portal-clt";//TAb接口地址 //http://app.shineup.com.cn/data/goldenline/recommend/index.json 2.0版本json
//http://app.shineup.com.cn/data/goldenline/recommend/index21.json 2.1版本json
//http://app.shineup.com.cn/data/goldenline/heji/1/hj.json 合集的json
public static final String TEST_CMS_URL = "http://data.movie.cnlive.com/movie/golehome"; //首页测试数据
public static final String TEST_CMS_URL2 = "http://data.movie.cnlive.com/movie/golehome";//测试服务器
public static final String NEW_CMS_URL = "http://res1.tv.cmvideo.cn:8088/migutv/json";//现网服务器
public static final String HOME_URL = "https://res.shineup.com.cn/data/goldenline/recommend"; //首、子页json
public static final String HOME_START_ROOM_URL = "http://app.shineup.com.cn:8080/goldenline-portal-clt/"; //今日直播 getAllLiveingAnchor.html
//dm3注册 前缀key
public static final String KEY = "8e825d39e9e93aa423194c802ca7faca54e89f11ee6da547eb149e8a29524467d7f8a5a0305c15bda8db7dca052dd5269897dd73742fc9477f1ba7e787e4419758a21dcf4e2deb9c207deb00a4711794c757b1cb74ffbac46f10e41e566630fbe0e847829650917f00e85c0cac5031d46236e2e570f353935e61adafa3242571b34546b64c60dfb674d976db9ee9da1ff585258689c8a689abc27e01af2de1e488f1b0c86f8f041538349bdf30035cc3036e3542bb32c38eb34e60d4f3425a5e975b49299e8a79aeae2a18137e20a0b2715ec0ed13415791b0adabe0968a5f4354ec82727438d026eebcbee93752f96c35c7d40c234ab53af286502ad1a830e7com.cnlive.goldenlinetwo88_07&11-migutv";
// 密码的key
public static final String PWD_KEy = "8e825d39e9e93aa423194c802ca7faca54e89f11ee6da547eb149e8a29524467d7f8a5a0305c15bda8db7dca052dd5269897dd73742fc9477f1ba7e787e4419758a21dcf4e2deb9c207deb00a4711794c757b1cb74ffbac46f10e41e566630fbe0e847829650917f00e85c0cac5031d46236e2e570f353935e61adafa3242571b34546b64c60dfb674d976db9ee9da1ff5852e570f353935e61adafa3242571b34546b64c60dfb674d976db9ee9da1ff585258689c8a689abc27e01af2de1e488f1b0c86f8f041538349bdf30035cc3036e3542bb32c38eb34e60d4f3425a5e975b49299e8a79aeae2a18137e20a0b2715ec0ed13415791b0adabe0968a5f4354ec82727438d026eebcbee93752f96c35c7d40c234ab53af286502ad1a830e7com.cnlive.goldenlinetwo88_07&11-godenLine";
public static final String QR_CODE = "http://app.shineup.com.cn/goldenline/html/outPage.html?uid=";
// 我要售卡
public static final String SALES_CARD_QR_CODE = "http://app.shineup.com.cn/goldenline-portal-clt/h5UrlGoldCard.html?uid=";
//已售卡记录
public static final String SOLD_CARD_RECORD = "http://app.shineup.com.cn/goldenline-portal-clt/getSellCardRecords.html?uid=";
@NonNull
public static String VIP_PAGE_TO_VIDEO = "";
public static final String Advertisement = "https://api.shineup.com.cn/goldenline-portal-clt";
public static final String previewURL = "http://m.shineup.com.cn/goldenline/html/goldenlineAnchor/anchorShare.html?activityId="; //主播直播分享
public static final String SDK_URL = "http://app.mijia.cnlive.com/api_v1"; //移动SDK计费
public static final String TAB_URL = "http://120.92.5.161:8080/goldenline-portal-clt/getTabInfoList.html";
// ?tabType=1
}