version:m40se 3.0.0
fix: update:上传安装app接口不进行缓存
This commit is contained in:
1 parent
6b9a1d99b5
commit
a6fd0862e3
15 files changed
+27
-27
No files matched your search
@@ -42,7 +42,7 @@ public class MainSPresenter implements MainSContact.Presenter {
|
||||
private MainSContact.MainView mView;
|
||||
private Context mContext;
|
||||
private CacheHelper mCacheHelper;
|
||||
private MMKV mMMKV = MMKV.defaultMMKV();
|
||||
private MMKV mMMKV = MMKV.mmkvWithID(CommonConfig.MMKV_ID, MMKV.MULTI_PROCESS_MODE);
|
||||
|
||||
public MainSPresenter(Context context) {
|
||||
this.mContext = context;
|
||||
|
||||
@@ -74,7 +74,7 @@ public class MainService extends Service implements MainSContact.MainView, Netwo
|
||||
private String TAG = MainService.class.getSimpleName();
|
||||
|
||||
public MainSPresenter mPresenter;
|
||||
private MMKV mMMKV = MMKV.defaultMMKV();
|
||||
private MMKV mMMKV = MMKV.mmkvWithID(CommonConfig.MMKV_ID, MMKV.MULTI_PROCESS_MODE);
|
||||
|
||||
//执行所有请求的时间
|
||||
long runningTime;
|
||||
@@ -172,6 +172,8 @@ public class MainService extends Service implements MainSContact.MainView, Netwo
|
||||
});
|
||||
mPresenter.getSnInfo();
|
||||
mPresenter.getAppAndWhite();
|
||||
NetInterfaceManager.getInstance().updateAdminInfo();
|
||||
NetInterfaceManager.getInstance().SendAppInstallInfo();
|
||||
}
|
||||
}
|
||||
}, 20000);
|
||||
|
||||
Reference in new issue
Block a user