Commit 86861d25 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 85e3430c
......@@ -86,9 +86,6 @@ class MainActivity : BaseActivity(), MainView, View.OnClickListener {
GlideUtils.loadImageViewGif(this, R.drawable.rockert, tab_iv_three)
if (!TextUtils.isEmpty(UserManager.getInstance().userID)) {
// 游客登录
mainPresenter.userLogin()
} else {
mainPresenter.getNetWorkIp()
TrackManager.getInstance().innerApp()
mainPresenter.getHallBaseMsg()
......@@ -484,7 +481,6 @@ class MainActivity : BaseActivity(), MainView, View.OnClickListener {
if (data.adcode != null) {
AppConfig.user_channel_ad = data.adcode.key
}
// ChannelManager.updataCodeIdForRegisterChannel(data.adcode)
// 是否上报点击广告
AppConfig.needReportClickAdEvent = data.isNeedReportClickAdEvent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment