|
|
@@ -830,7 +830,7 @@ public interface ApiService {
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
- @GET("v1/app/version/new_version")
|
|
|
+ @GET("v2/app/version/new_version")
|
|
|
Observable<BaseMessage> getNewVersion(@Query("type") int type);
|
|
|
|
|
|
/**
|
|
|
@@ -933,28 +933,10 @@ public interface ApiService {
|
|
|
/**
|
|
|
* 应用 下载/预约 时先调用此接口生成记录
|
|
|
*/
|
|
|
- @GET("v1/app/find/applications/downloads")
|
|
|
+ @GET("v2/app/find/applications/downloads")
|
|
|
Observable<BaseMessage> recordAppDownloads(@Query("id") int id);
|
|
|
|
|
|
/**
|
|
|
- * 取消 应用 下载/预约
|
|
|
- */
|
|
|
- @DELETE("v1/app/find/applications/downloads")
|
|
|
- Observable<BaseMessage> deleteDownloads(@Query("id") int id);
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取预约未下载数量
|
|
|
- */
|
|
|
- @GET("v1/app/find/applications/downloads/status")
|
|
|
- Observable<BaseMessage> getFindAppDownloadsStatus();
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取预约下载列表
|
|
|
- */
|
|
|
- @GET("v1/app/find/applications/downloads_list")
|
|
|
- Observable<BaseMessage> getFindAppReservationList(@Query("page") int page, @Query("per_page") int per_page);
|
|
|
-
|
|
|
- /**
|
|
|
* 发现点击统计
|
|
|
*/
|
|
|
@GET("v1/app/find/add_clicks")
|