opt
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取图片
|
//获取图片
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user