update:2019.01.15

fix:更换网址
add:
This commit is contained in:
tt committed 2020-04-15 20:56:01 +08:00
1 parent 800948658c
commit 527e626aa1
9 files changed
+8 -7

No files matched your search

@@ -515,7 +515,7 @@ public class MainActivity extends AppCompatActivity implements NetStateChangeObs
getAppInfo();//上传APP信息
getSystemSetting();//设置系统管控
getNetAndLaunchSetting();//联网管控
Aria.download(this).removeAllTask(true);
// Aria.download(this).removeAllTask(true);
// getForceDownload();//强制下载apk
resetDevice();//恢复出厂设置
// fromNetToUpdate();
@@ -37,9 +37,10 @@ import retrofit2.converter.gson.GsonConverterFactory;
public class Network {
// 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 = "http://www.jiaoguanyi.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 = "http://partner.jiaoguanyi.com/api/";//正式
// public static final String ROOT_URL = "http://www.jiaoguanyi.cn/api/";//测试
private static UploadAppInfoApi uploadAppInfoApi;
@@ -687,7 +687,7 @@ public class InitJpushServer extends Service {
getDeselectID();
getDeselectBrowerID();
getNetAndLaunchSetting();
Aria.download(this).removeAllTask(true);
// Aria.download(this).removeAllTask(true);
// getForceDownload();
getSystemSetting();//从后台获取功能状态
resetDevice();