This commit is contained in:
lixiaopeng
2020-12-01 16:50:49 +08:00
parent b89c256b71
commit 042cdf7cab
2 changed files with 15 additions and 10 deletions

View File

@@ -135,7 +135,8 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
mainInfoId, mainInfoId,
mLongitude, mLongitude,
mLatitude, mLatitude,
mSpeed mSpeed,
mFromType
) )
//地图上打点 //地图上打点
@@ -175,7 +176,8 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
mainInfoId, mainInfoId,
mLongitude, mLongitude,
mLatitude, mLatitude,
mSpeed mSpeed,
mFromType
) )
} }
@@ -350,7 +352,8 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
mainInfoId, mainInfoId,
mLongitude, mLongitude,
mLatitude, mLatitude,
mSpeed mSpeed,
mFromType
) )
//地图上打点 //地图上打点
@@ -424,9 +427,9 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
mainInfoId, mainInfoId,
mLongitude, mLongitude,
mLatitude, mLatitude,
mSpeed mSpeed,
mFromType
) )
} }
//获取图片 //获取图片

View File

@@ -146,7 +146,8 @@ class CosStatusController : CosStatusCallback {
mainInfoId, mainInfoId,
mLongitude, mLongitude,
mLatitude, mLatitude,
mSpeed mSpeed,
mFromType
) )
} }
Log.d(TAG, "delete file: $localPath") Log.d(TAG, "delete file: $localPath")
@@ -161,7 +162,7 @@ class CosStatusController : CosStatusCallback {
// CosCallbackMapController.mainService?.sendCustomResult(it) // CosCallbackMapController.mainService?.sendCustomResult(it)
// } // }
// } else { // } else {
sendInformationDirectly(type, map, mType, entity, mainInfoId, mLongitude, mLatitude, mSpeed) sendInformationDirectly(type, map, mType, entity, mainInfoId, mLongitude, mLatitude, mSpeed,mFromType)
// } // }
} }
@@ -176,13 +177,14 @@ class CosStatusController : CosStatusCallback {
mainInfoId: Long, mainInfoId: Long,
longitude: Double, longitude: Double,
latitude: Double, latitude: Double,
speed: Float speed: Float,
fromType: String
) { ) {
Log.d(TAG, "sendInformationDirectly poiType= $poiType ---- mainInfoId= $mainInfoId --- isCustom = ${entity?.isCustom}") Log.d(TAG, "sendInformationDirectly poiType= $poiType --fromType =$fromType ---- mainInfoId= $mainInfoId --- isCustom = ${entity?.isCustom}")
//开始上传 //开始上传
entity?.isCustom?.let { entity?.isCustom?.let {
mainServiceHttpModel.sendInformationMessage( mainServiceHttpModel.sendInformationMessage(
fromType = mFromType, fromType = fromType,
type = type, type = type,
url = map, url = map,
isCustom = it, isCustom = it,