Commit 9a49f5e3 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent a7644057
...@@ -13,8 +13,8 @@ android { ...@@ -13,8 +13,8 @@ android {
applicationId rootProject.APPLICATION_ID applicationId rootProject.APPLICATION_ID
minSdkVersion rootProject.ext.androidMinSdkVersion minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 20211019 versionCode 20211020
versionName "1.1.3" versionName "1.1.4"
flavorDimensions "default" flavorDimensions "default"
// dex突破65535的限制 // dex突破65535的限制
......
...@@ -107,7 +107,7 @@ object HitChanceKeeper { ...@@ -107,7 +107,7 @@ object HitChanceKeeper {
defaultChance: String = "" defaultChance: String = ""
): String { ): String {
return Constant.GROMORE_INSERTSCREEN_AD // return Constant.GROMORE_INSERTSCREEN_AD
if (weight == 0 || weightArr == null || weightArr.isEmpty()) return defaultChance if (weight == 0 || weightArr == null || weightArr.isEmpty()) return defaultChance
LogUtil.d(TAG, "-->>> 1、权重总值:${weight}") LogUtil.d(TAG, "-->>> 1、权重总值:${weight}")
......
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