package com.tejia.lijin.app;
|
|
/**
|
* Created by weikou2015 on 2017/3/7.
|
*/
|
|
public class BuXinConstant {
|
|
// public static final String HOST = "http://192.168.3.122:8080";//内网测试
|
// public static final String HOST = "http://192.168.1.253:8080";//内网测试
|
// public static final String HOST = "http://192.168.1.200:8088";//内网测试
|
// public static final String HOST = "http://111.231.250.166:8082";//外网测试
|
public static final String HOST = "http://api.tejia.yeshitv.com";//外网正式
|
|
public static boolean isPushMsg = false;
|
|
/**
|
* 代理检测
|
*
|
* @return true为没有连接代理服务器,false为连接了代理服务器,禁止访问请求服务器
|
*/
|
public static boolean isDisableProxy() {
|
String proHost = null;// 代理主机
|
int proPort = -1;// 端口号
|
try {
|
proHost = android.net.Proxy.getDefaultHost();
|
proPort = android.net.Proxy.getDefaultPort();
|
} catch (Exception e) {
|
|
}
|
return true;// 测试时关闭代理限制
|
}
|
|
public static final String REDIRECT_URL = "https://api.weibo.com/oauth2/default.html";
|
public static final String SCOPE =
|
"email,direct_messages_read,direct_messages_write,"
|
+ "friendships_groups_read,friendships_groups_write,statuses_to_me_read,"
|
+ "follow_app_official_microblog," + "invitation_write";
|
|
public static final String TAO_BAO_KE_KEY = "24980167";//淘宝联盟后台key
|
public static final String BAICHUAN_PID = "mm_124933865_56750082_89555600043";
|
public static final String BAICHUAN_ADZONE_ID = "89555600043";
|
|
public static final boolean DEBUG = false;
|
public static boolean GO_SCAN = false;
|
}
|