This commit is contained in:
lixiaopeng
2020-10-21 15:10:14 +08:00
parent 1d80b8145e
commit eedede61d1
7 changed files with 41 additions and 23 deletions

View File

@@ -58,7 +58,7 @@ class StrategyServiceModel : BaseRepository() {
// }
// }
suspend fun uploadInformation(informationBody: InformationBody): BaseResponse<Any> {
suspend fun uploadInformation(informationBody: InformationBody): BaseResponse<UploadResult> {
return apiCall {
var informationBodyStr = Gson().toJson(informationBody)
Log.d("MainServiceController", "uploadInformation informationBody = " + informationBodyStr)

View File

@@ -0,0 +1,8 @@
package com.zhidao.roadcondition.model
/**
* 上报成功返回
*/
class UploadResult(var id: Long) {
}