fix(NewUpdateBean.kt): 修复非空变量未指定默认值

This commit is contained in:
HuanCheng65 2020-08-20 23:14:13 +08:00 committed by GitHub
parent 81daeac6b7
commit 895a339439
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@ import com.google.gson.annotations.SerializedName
class NewUpdateBean {
@SerializedName("success")
val isSuccess: Boolean
val isSuccess: Boolean = false
@SerializedName("has_update")
val isHasUpdate: Boolean
val isHasUpdate: Boolean = false
@SerializedName("error_code")
val errorCode: Int? = null