diff --git a/musicapi/src/main/java/com/guoyi/musicapi/kugou/KuGouApiService.kt b/musicapi/src/main/java/com/guoyi/musicapi/kugou/KuGouApiService.kt index 897ad65..fe760e1 100644 --- a/musicapi/src/main/java/com/guoyi/musicapi/kugou/KuGouApiService.kt +++ b/musicapi/src/main/java/com/guoyi/musicapi/kugou/KuGouApiService.kt @@ -1,7 +1,5 @@ package com.guoyi.musicapi.kugou -import com.guoyi.musicapi.baidu.BaiduApiService -import com.guoyi.musicapi.baidu.BaiduPlayMv import io.reactivex.Observable import retrofit2.http.GET import retrofit2.http.Headers diff --git a/musicapi/src/main/java/com/guoyi/musicapi/kugou/KugouPlayMv.kt b/musicapi/src/main/java/com/guoyi/musicapi/kugou/KugouPlayMv.kt index f8bb8a9..3975fea 100644 --- a/musicapi/src/main/java/com/guoyi/musicapi/kugou/KugouPlayMv.kt +++ b/musicapi/src/main/java/com/guoyi/musicapi/kugou/KugouPlayMv.kt @@ -1,47 +1,60 @@ package com.guoyi.musicapi.kugou data class KugouPlayMv( - val errcode: Int, - val error: String, - val id: Int, - val is_publish: Int, - val mp3data: Mp3data, - val mvdata: Mvdata, - val mvicon: String, - val play_count: Int, - val remark: String, - val singer: String, - val songname: String, - val status: Int, - val timelength: Int, - val track: Int, - val type: Int + val errcode: Int, + val error: String, + val id: Int, + val is_publish: Int, + val mp3data: Mp3data, + val hash: String, + val mvdata: Mvdata, + val mvicon: String, + val play_count: Int, + val remark: String, + val singer: String, + val songname: String, + val status: Int, + val timelength: Int, + val track: Int, + val type: Int ) data class Mp3data( - val bitrate: Int, - val filesize: Int, - val hash: String, - val timelength: Int + val bitrate: Int, + val filesize: Int, + val hash: String, + val timelength: Int ) data class Mvdata( - val le: Le, - val rq: Rq, - val sq: Sq + val le: Le, + val rq: Rq, + val sq: Sq ) data class Le( - val backupdownurl: List, - val bitrate: Int, - val downurl: String, - val filesize: Int, - val hash: String, - val timelength: Int + val backupdownurl: List, + val bitrate: Int, + val downurl: String, + val filesize: Int, + val hash: String, + val timelength: Int ) class Rq( + val backupdownurl: List, + val bitrate: Int, + val downurl: String, + val filesize: Int, + val hash: String, + val timelength: Int ) class Sq( + val backupdownurl: List, + val bitrate: Int, + val downurl: String, + val filesize: Int, + val hash: String, + val timelength: Int ) \ No newline at end of file