Merge pull request #34 from duzhaokun123/kotlin

修复首页->推荐API经常抛出异常的BUG
This commit is contained in:
czp 2020-04-10 23:52:46 +08:00 committed by GitHub
commit 85855069b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,13 @@
# 使用
```groovy
compile group: 'com.hiczp', name: 'bilibili-api', version: '0.2.0'
compile group: 'com.hiczp', name: 'bilibili-api', version: '0.2.1'
```
对于 Android 项目, 如需要解析弹幕, 添加
```groovy
compile group: 'javax.xml.stream', name: 'stax-api' version: last_version
compile group: 'org.codehaus.woodstox', name: 'woodstox-core-asl' version: last_version
```
# 技术说明

View File

@ -16,7 +16,7 @@ buildscript {
}
group = 'com.hiczp'
version = '0.2.0'
version = '0.2.1'
description = 'Bilibili Android client API library for Kotlin'
apply plugin: 'kotlin'

View File

@ -134,7 +134,7 @@ data class HomePage(
@SerializedName("creative_content")
var creativeContent: CreativeContent,
@SerializedName("creative_id")
var creativeId: Int, // 6578071
var creativeId: Long, // 6578071
@SerializedName("creative_type")
var creativeType: Int, // 2
@SerializedName("extra")