fix: 云存档我的下载列表存档无法删除 https://jira.shanqu.cc/browse/CWZS-146
Signed-off-by: chenjuntao <chenjuntao@ghzhushou.com>
This commit is contained in:
@ -127,7 +127,7 @@ class MyArchiveViewModel(
|
||||
|
||||
override fun provideDataSingle(page: Int): Single<MutableList<ArchiveEntity>>? {
|
||||
return if (mType == MyArchiveFragment.Type.MY_DOWNLOAD_ARCHIVE) {
|
||||
mNewApi.getArchivesDownloadHistories(gameId, page, 20)
|
||||
mNewApi.getArchivesDownloadHistories(gameId, page, 20, System.currentTimeMillis().toString())
|
||||
} else {
|
||||
null
|
||||
}
|
||||
|
||||
@ -3065,7 +3065,11 @@ public interface ApiService {
|
||||
* 获取存档下载记录
|
||||
*/
|
||||
@GET("/users/games/{game_id}/archives/download/histories")
|
||||
Single<List<ArchiveEntity>> getArchivesDownloadHistories(@Path("game_id") String gameId, @Query("page") int page, @Query("page_size") int pageSize);
|
||||
Single<List<ArchiveEntity>> getArchivesDownloadHistories(
|
||||
@Path("game_id") String gameId,
|
||||
@Query("page") int page,
|
||||
@Query("page_size") int pageSize,
|
||||
@Query("timestamp") String timestamp);
|
||||
|
||||
/**
|
||||
* 获取偏好设置(分类标签)的配置数据及用户状态
|
||||
|
||||
Reference in New Issue
Block a user