Commit 88531a62 authored by mengcuiguang2's avatar mengcuiguang2

代码优化1.0.1发版

parent 44569fae
......@@ -13,8 +13,8 @@ android {
applicationId rootProject.APPLICATION_ID
minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 1
versionName "1.0.0"
versionCode 2
versionName "1.0.1"
flavorDimensions "default"
// dex突破65535的限制
......
package com.mints.flowbox.mvp.presenters
import com.mints.flowbox.MintsApplication
import com.mints.flowbox.manager.AppHttpManager
import com.mints.flowbox.mvp.model.BaseResponse
import com.mints.flowbox.mvp.model.SplashAppBean
import com.mints.flowbox.mvp.views.SplashView
import com.mints.library.net.neterror.BaseSubscriber
import com.mints.library.net.neterror.Throwable
import java.util.HashMap
import com.mints.library.utils.CommonUtils
import java.util.*
class SplashPresenter : BasePresenter<SplashView>() {
......@@ -14,6 +16,7 @@ class SplashPresenter : BasePresenter<SplashView>() {
view.showLoading("加载中...")
val vo = HashMap<String, Any>()
vo["os"] = "Android"
vo["channel"] = CommonUtils.getAppMetaData(MintsApplication.getContext(), "CHANNEL_NAME")
AppHttpManager.getInstance(loanApplication)
.call(loanService.getCloseNeedInitAppsCount(vo),
object : BaseSubscriber<BaseResponse<SplashAppBean>>() {
......
......@@ -731,7 +731,7 @@ class AwardActivity : BaseActivity(), AwardView, View.OnClickListener {
val cashStr = allcoinBig.divide(rateBig).setScale(2, BigDecimal.ROUND_DOWN).toString()
if (AppConfig.awardCoin > 0) {
tvAwardContent.text = "${AppConfig.awardCoin}金币已到账~"
tvAwardContent.text = "${AppConfig.awardCoin}金币已到账"
tvAwardNext.visibility = View.GONE
}
......
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