Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_freeworld
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_freeworld
Commits
95295eb1
Commit
95295eb1
authored
Jul 13, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
2fd69fc0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
28 deletions
+9
-28
build.gradle
app/build.gradle
+7
-3
MainApi.kt
app/src/main/java/com/mints/street/api/MainApi.kt
+0
-2
AppRequest.kt
app/src/main/java/com/mints/street/bean/AppRequest.kt
+1
-1
AwardBean.kt
app/src/main/java/com/mints/street/bean/AwardBean.kt
+0
-20
ApiModel.kt
app/src/main/java/com/mints/street/model/ApiModel.kt
+0
-1
OkHttpInterceptor.kt
...java/com/mints/street/netwrok/common/OkHttpInterceptor.kt
+1
-1
No files found.
app/build.gradle
View file @
95295eb1
...
...
@@ -67,9 +67,13 @@ android {
buildConfigField
"String"
,
"MainIp"
,
DEBUG_URL
//混淆
minifyEnabled
false
zipAlignEnabled
false
shrinkResources
false
//打开
// minifyEnabled false
// zipAlignEnabled false
// shrinkResources false//打开
minifyEnabled
true
zipAlignEnabled
true
shrinkResources
true
//打开
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
signingConfig
signingConfigs
.
debug
...
...
app/src/main/java/com/mints/street/api/MainApi.kt
View file @
95295eb1
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.netwrok.common.HttpManager
import
io.reactivex.Observable
...
...
library_base/src/main/java/com/fry/base
/bean/AppRequest.kt
→
app/src/main/java/com/mints/street
/bean/AppRequest.kt
View file @
95295eb1
package
com.
fry.base
.bean
package
com.
mints.street
.bean
import
android.annotation.SuppressLint
import
android.os.Parcelable
...
...
app/src/main/java/com/mints/street/bean/AwardBean.kt
deleted
100644 → 0
View file @
2fd69fc0
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
app/src/main/java/com/mints/street/model/ApiModel.kt
View file @
95295eb1
package
com.mints.street.model
import
com.mints.street.api.MainApi
import
com.mints.street.bean.AwardBean
import
com.mints.street.bean.UserBean
import
com.mints.street.netwrok.common.HttpManager
import
com.trello.rxlifecycle2.LifecycleProvider
...
...
app/src/main/java/com/mints/street/netwrok/common/OkHttpInterceptor.kt
View file @
95295eb1
...
...
@@ -3,10 +3,10 @@ package com.mints.street.netwrok.common
import
android.text.TextUtils
import
android.util.Log
import
com.bytedance.hume.readapk.HumeSDK
import
com.fry.base.bean.AppRequest
import
com.google.gson.Gson
import
com.mints.street.AppApplication
import
com.mints.street.BuildConfig
import
com.mints.street.bean.AppRequest
import
com.mints.street.manager.UserManager
import
com.mints.street.utils.CommonUtils
import
com.mints.street.utils.encry.AESUtils
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment