-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 修复release包下进入个人中心页面空指针闪退的问题,优化代码结构
- Loading branch information
Showing
4 changed files
with
58 additions
and
32 deletions.
There are no files selected for viewing
30 changes: 0 additions & 30 deletions
30
module_mine/src/main/java/com/mredrock/cyxbs/mine/Bean/PersonData.kt
This file was deleted.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
module_mine/src/main/java/com/mredrock/cyxbs/mine/bean/PersonData.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
package com.mredrock.cyxbs.mine.bean | ||
|
||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
data class PersonData( | ||
@SerializedName("data") | ||
val `data`: Data, | ||
@SerializedName("info") | ||
val info: String, | ||
@SerializedName("status") | ||
val status: Int | ||
) { | ||
data class Data( | ||
@SerializedName("background_url") | ||
val backgroundUrl: String, | ||
@SerializedName("birthday") | ||
val birthday: String, | ||
@SerializedName("college") | ||
val college: String, | ||
@SerializedName("constellation") | ||
val constellation: String, | ||
@SerializedName("gender") | ||
val gender: String, | ||
@SerializedName("grade") | ||
val grade: String, | ||
@SerializedName("identityies") | ||
val identityies: Any, | ||
@SerializedName("introduction") | ||
val introduction: String, | ||
@SerializedName("isBefocused") | ||
val isBefocused: Boolean, | ||
@SerializedName("isFocus") | ||
val isFocus: Boolean, | ||
@SerializedName("is_self") | ||
val isSelf: Boolean, | ||
@SerializedName("nickname") | ||
val nickname: String, | ||
@SerializedName("phone") | ||
val phone: String, | ||
@SerializedName("photo_src") | ||
val photoSrc: String, | ||
@SerializedName("photo_thumbnail_src") | ||
val photoThumbnailSrc: String, | ||
@SerializedName("qq") | ||
val qq: String, | ||
@SerializedName("redid") | ||
val redid: String, | ||
@SerializedName("stunum") | ||
val stunum: String, | ||
@SerializedName("uid") | ||
val uid: Int, | ||
@SerializedName("username") | ||
val username: String | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters