update:2019.01.15
fix:更换网址 add:
@@ -16,8 +16,8 @@ android {
|
|||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
// versionCode 85
|
// versionCode 85
|
||||||
// versionName "2.0.4.6"//正式jiaoguanyi.com
|
// versionName "2.0.4.6"//正式jiaoguanyi.com
|
||||||
versionCode 117
|
versionCode 121
|
||||||
versionName "2.7.9"//测试jiaoguanyi.cn
|
versionName "2.8.1.2"//测试jiaoguanyi.cn
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||||
|
|||||||
@@ -515,7 +515,7 @@ public class MainActivity extends AppCompatActivity implements NetStateChangeObs
|
|||||||
getAppInfo();//上传APP信息
|
getAppInfo();//上传APP信息
|
||||||
getSystemSetting();//设置系统管控
|
getSystemSetting();//设置系统管控
|
||||||
getNetAndLaunchSetting();//联网管控
|
getNetAndLaunchSetting();//联网管控
|
||||||
Aria.download(this).removeAllTask(true);
|
// Aria.download(this).removeAllTask(true);
|
||||||
// getForceDownload();//强制下载apk
|
// getForceDownload();//强制下载apk
|
||||||
resetDevice();//恢复出厂设置
|
resetDevice();//恢复出厂设置
|
||||||
// fromNetToUpdate();
|
// fromNetToUpdate();
|
||||||
|
|||||||
@@ -37,9 +37,10 @@ import retrofit2.converter.gson.GsonConverterFactory;
|
|||||||
|
|
||||||
public class Network {
|
public class Network {
|
||||||
|
|
||||||
// public static final String ROOT_URL = "http://www.as.xueshibao.com.cn/api/";
|
// public static final String ROOT_URL = "http://www.as.xueshibao.com.cn/api/"; 弃用
|
||||||
// public static final String ROOT_URL = "https://www.jiaoguanyi.com/api/";//正式
|
// public static final String ROOT_URL = "https://www.jiaoguanyi.com/api/";//正式 弃用
|
||||||
public static final String ROOT_URL = "http://www.jiaoguanyi.cn/api/";//测试
|
public static final String ROOT_URL = "http://partner.jiaoguanyi.com/api/";//正式
|
||||||
|
// public static final String ROOT_URL = "http://www.jiaoguanyi.cn/api/";//测试
|
||||||
|
|
||||||
|
|
||||||
private static UploadAppInfoApi uploadAppInfoApi;
|
private static UploadAppInfoApi uploadAppInfoApi;
|
||||||
|
|||||||
@@ -687,7 +687,7 @@ public class InitJpushServer extends Service {
|
|||||||
getDeselectID();
|
getDeselectID();
|
||||||
getDeselectBrowerID();
|
getDeselectBrowerID();
|
||||||
getNetAndLaunchSetting();
|
getNetAndLaunchSetting();
|
||||||
Aria.download(this).removeAllTask(true);
|
// Aria.download(this).removeAllTask(true);
|
||||||
// getForceDownload();
|
// getForceDownload();
|
||||||
getSystemSetting();//从后台获取功能状态
|
getSystemSetting();//从后台获取功能状态
|
||||||
resetDevice();
|
resetDevice();
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.6 KiB |