|
@@ -101,11 +101,11 @@ public class TravelUtils {
|
|
|
LogUtil.i("p=" + p);
|
|
LogUtil.i("p=" + p);
|
|
|
if (NetUtils.isNetWorkConnected(ct)) {
|
|
if (NetUtils.isNetWorkConnected(ct)) {
|
|
|
String baseUrl = null;
|
|
String baseUrl = null;
|
|
|
-// if (BaseConfig.isDebug()) {
|
|
|
|
|
-// appkey = "y8gd87dsdkencgzk394k7s5c78io35c";
|
|
|
|
|
-// appSceret = "e212e142a5c9e0590eefb7d9f1bc91d7";
|
|
|
|
|
-// baseUrl = "http://124.254.45.234:8082/oa/caslogin/";
|
|
|
|
|
-// } else {
|
|
|
|
|
|
|
+ if (BaseConfig.isDebug()) {
|
|
|
|
|
+ appkey = "y8gd87dsdkencgzk394k7s5c78io35c";
|
|
|
|
|
+ appSceret = "e212e142a5c9e0590eefb7d9f1bc91d7";
|
|
|
|
|
+ baseUrl = "http://124.254.45.234:8082/oa/caslogin/";
|
|
|
|
|
+ } else {
|
|
|
baseUrl = "http://h5.auvgo.com/oa/caslogin/";
|
|
baseUrl = "http://h5.auvgo.com/oa/caslogin/";
|
|
|
if (TextUtils.isEmpty(appkey)) {
|
|
if (TextUtils.isEmpty(appkey)) {
|
|
|
appkey = "fjdsfnvg6523fsgjkff879fidsf";
|
|
appkey = "fjdsfnvg6523fsgjkff879fidsf";
|
|
@@ -113,7 +113,7 @@ public class TravelUtils {
|
|
|
if (TextUtils.isEmpty(appSceret)) {
|
|
if (TextUtils.isEmpty(appSceret)) {
|
|
|
appSceret = "9891ca5330271eba81ec1332e740c210";
|
|
appSceret = "9891ca5330271eba81ec1332e740c210";
|
|
|
}
|
|
}
|
|
|
-// }
|
|
|
|
|
|
|
+ }
|
|
|
String username = CommonUtil.getEmcode();
|
|
String username = CommonUtil.getEmcode();
|
|
|
String data = appkey + username.toUpperCase() + appSceret;
|
|
String data = appkey + username.toUpperCase() + appSceret;
|
|
|
String key = Md5Util.toMD5(appSceret).toUpperCase();
|
|
String key = Md5Util.toMD5(appSceret).toUpperCase();
|