fix: 修改realm编译报错的问题
This commit is contained in:
@@ -132,4 +132,10 @@ dependencies {
|
||||
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
|
||||
// // 协程Java8支持库
|
||||
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.4'
|
||||
|
||||
// Retrofit 网络请求相关
|
||||
api("com.squareup.retrofit2:retrofit:2.9.0")
|
||||
api("com.squareup.retrofit2:converter-gson:2.9.0")
|
||||
api('com.squareup.okhttp3:okhttp:5.0.0-alpha.11')
|
||||
api('com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.11')
|
||||
}
|
||||
@@ -1,10 +1,7 @@
|
||||
package com.navinfo.omqs.bean
|
||||
package com.navinfo.collect.library.data.entity
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import com.navinfo.collect.library.data.entity.HadLinkDvoBean
|
||||
import com.navinfo.omqs.Constant
|
||||
import com.navinfo.omqs.tools.FileManager
|
||||
import com.navinfo.omqs.tools.FileManager.Companion.FileDownloadStatus
|
||||
import com.navinfo.collect.library.system.Constant
|
||||
import io.realm.RealmList
|
||||
import io.realm.RealmObject
|
||||
import io.realm.annotations.Ignore
|
||||
@@ -56,12 +53,12 @@ open class TaskBean @JvmOverloads constructor(
|
||||
/**
|
||||
* 当前下载状态
|
||||
*/
|
||||
var status: Int = FileDownloadStatus.NONE,
|
||||
var status: Int = 0,
|
||||
|
||||
/**
|
||||
* 上传状态
|
||||
*/
|
||||
var syncStatus: Int = FileManager.Companion.FileUploadStatus.NONE,
|
||||
var syncStatus: Int = 0,
|
||||
|
||||
@Ignore
|
||||
var message: String = "",
|
||||
|
||||
@@ -32,5 +32,10 @@ public class Constant {
|
||||
public static final int OVER_ZOOM = 21;
|
||||
public static final int MAX_ZOOM = 25;
|
||||
public static final int OMDB_MIN_ZOOM = 18;
|
||||
|
||||
/**
|
||||
* 服务器地址
|
||||
*/
|
||||
public static final String SERVER_ADDRESS = "http://fastmap.navinfo.com/";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user