Commit 95295eb1 authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 2fd69fc0
...@@ -67,9 +67,13 @@ android { ...@@ -67,9 +67,13 @@ android {
buildConfigField "String", "MainIp", DEBUG_URL buildConfigField "String", "MainIp", DEBUG_URL
//混淆 //混淆
minifyEnabled false // minifyEnabled false
zipAlignEnabled false // zipAlignEnabled false
shrinkResources false//打开 // shrinkResources false//打开
minifyEnabled true
zipAlignEnabled true
shrinkResources true//打开
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug signingConfig signingConfigs.debug
......
package com.mints.street.api package com.mints.street.api
import com.google.gson.JsonObject
import com.mints.street.bean.AwardBean
import com.mints.street.bean.UserBean import com.mints.street.bean.UserBean
import com.mints.street.netwrok.common.HttpManager import com.mints.street.netwrok.common.HttpManager
import io.reactivex.Observable import io.reactivex.Observable
......
package com.fry.base.bean package com.mints.street.bean
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.os.Parcelable import android.os.Parcelable
......
package com.mints.street.bean
import android.annotation.SuppressLint
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
/**
*
* @author jyx
* @date 2021/4/7
* @des
*/
@SuppressLint("ParcelCreator")
@Parcelize
data class AwardBean(
var highCoin: Int = 0,
var showHigh: Boolean = false,
var coin: Int = 0,
var riskinfoRate: Boolean = false
) : Parcelable
\ No newline at end of file
package com.mints.street.model package com.mints.street.model
import com.mints.street.api.MainApi import com.mints.street.api.MainApi
import com.mints.street.bean.AwardBean
import com.mints.street.bean.UserBean import com.mints.street.bean.UserBean
import com.mints.street.netwrok.common.HttpManager import com.mints.street.netwrok.common.HttpManager
import com.trello.rxlifecycle2.LifecycleProvider import com.trello.rxlifecycle2.LifecycleProvider
......
...@@ -3,10 +3,10 @@ package com.mints.street.netwrok.common ...@@ -3,10 +3,10 @@ package com.mints.street.netwrok.common
import android.text.TextUtils import android.text.TextUtils
import android.util.Log import android.util.Log
import com.bytedance.hume.readapk.HumeSDK import com.bytedance.hume.readapk.HumeSDK
import com.fry.base.bean.AppRequest
import com.google.gson.Gson import com.google.gson.Gson
import com.mints.street.AppApplication import com.mints.street.AppApplication
import com.mints.street.BuildConfig import com.mints.street.BuildConfig
import com.mints.street.bean.AppRequest
import com.mints.street.manager.UserManager import com.mints.street.manager.UserManager
import com.mints.street.utils.CommonUtils import com.mints.street.utils.CommonUtils
import com.mints.street.utils.encry.AESUtils import com.mints.street.utils.encry.AESUtils
......
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