Browse Source

1.移除多余引用

20241218TB223FC(测试jar包)
wangwanlei 10 months ago
parent
commit
608d53e01d
1 changed files with 10 additions and 3 deletions
  1. 10
    3
      app/src/main/java/com/xhly/manageapp/network/app/AppService.kt

+ 10
- 3
app/src/main/java/com/xhly/manageapp/network/app/AppService.kt View File

@@ -1,10 +1,11 @@
1 1
 package com.xhly.manageapp.network.app
2 2
 
3 3
 import com.xhly.corelib.network.bean.ResponseData
4
-import com.xhly.manageapp.bean.AppModel
5
-import com.xhly.manageapp.bean.ListAppBean
4
+import com.xhly.manageapp.bean.app.AppModel
5
+import com.xhly.manageapp.bean.app.ListAppBean
6 6
 import com.xhly.manageapp.bean.log.UpdateBean
7 7
 import com.xhly.manageapp.bean.WallpaperBean
8
+import com.xhly.manageapp.bean.app.AppInstallBean
8 9
 import com.xhly.manageapp.network.UriAdress
9 10
 import retrofit2.http.Body
10 11
 import retrofit2.http.POST
@@ -23,7 +24,7 @@ interface AppService {
23 24
     suspend fun postForceApp(): ResponseData<ArrayList<AppModel>>
24 25
 
25 26
     /**
26
-     * 获得版本更新,用来统计版本更新消息,而不是用来版本更新
27
+     * 每天请求一次app更新接口,这个接口是用于提交管控自身的版本信息统计
27 28
      */
28 29
     @POST(UriAdress.CLIENT_ADD)
29 30
     suspend fun postClientAdd(@Body updateBean: UpdateBean): ResponseData<Any>
@@ -33,4 +34,10 @@ interface AppService {
33 34
      */
34 35
     @POST(UriAdress.WALLPAPERPAD)
35 36
     suspend fun postWallpaperPad(): ResponseData<WallpaperBean>
37
+
38
+    /**
39
+     * 设备已安装应用-批量添加
40
+     */
41
+    @POST(UriAdress.APPINSTALL_ADD)
42
+    suspend fun postAppInstallAdd(@Body list:List<AppInstallBean>):ResponseData<Any>
36 43
 }

Loading…
Cancel
Save