Browse Source

1.优化代码

王鹏鹏 2 years ago
parent
commit
645e215f89

+ 0 - 2
baselib/src/main/java/com/yingyangfly/baselib/utils/ImageUtil.kt

@@ -1,7 +1,6 @@
 package com.yingyangfly.baselib.utils
 
 import android.graphics.drawable.Drawable
-import android.util.Log
 import android.widget.ImageView
 import androidx.annotation.DrawableRes
 import com.bumptech.glide.Glide
@@ -43,7 +42,6 @@ object ImageUtil {
             .diskCacheStrategy(DiskCacheStrategy.ALL)
 
         if (isCircle == true) {
-            Log.e("wpp", "----------------666")
             load.transform(CircleCrop()).into(this)
         } else if (roundRadius > 0) {
             load.transform(

+ 3 - 4
workbenches/src/main/java/com/yingyang/workbenches/entity/Record.kt

@@ -18,12 +18,11 @@ data class Record(
     val gameVideoTitle: String,//游戏视频介绍
     val gameVideoUrl: String,//	游戏视频介绍url
     val id: String,
-    val limit: Int,
     val orgCode: String,
     val orgName: String,//机构名字
-    val page: Int,
-    val status: Int,//状态 0:正常 1:冻结 2:删除
     val updateBy: String,
     val updateTime: String,
-    val currentLevel: String//当前等级 ,totalLevel  总共等级 ,status  =0 通关
+    val currentLevel: String,//当前等级
+    val totalLevel: String,//  总共等级
+    val status: String //0 通关
 )