opt
This commit is contained in:
@@ -135,7 +135,8 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
|
||||
mainInfoId,
|
||||
mLongitude,
|
||||
mLatitude,
|
||||
mSpeed
|
||||
mSpeed,
|
||||
mFromType
|
||||
)
|
||||
|
||||
//地图上打点
|
||||
@@ -175,7 +176,8 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
|
||||
mainInfoId,
|
||||
mLongitude,
|
||||
mLatitude,
|
||||
mSpeed
|
||||
mSpeed,
|
||||
mFromType
|
||||
)
|
||||
}
|
||||
|
||||
@@ -350,7 +352,8 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
|
||||
mainInfoId,
|
||||
mLongitude,
|
||||
mLatitude,
|
||||
mSpeed
|
||||
mSpeed,
|
||||
mFromType
|
||||
)
|
||||
|
||||
//地图上打点
|
||||
@@ -424,9 +427,9 @@ object CarCorderController : TakePhotoCallback, TakeVideoCallback {
|
||||
mainInfoId,
|
||||
mLongitude,
|
||||
mLatitude,
|
||||
mSpeed
|
||||
mSpeed,
|
||||
mFromType
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
//获取图片
|
||||
|
||||
@@ -146,7 +146,8 @@ class CosStatusController : CosStatusCallback {
|
||||
mainInfoId,
|
||||
mLongitude,
|
||||
mLatitude,
|
||||
mSpeed
|
||||
mSpeed,
|
||||
mFromType
|
||||
)
|
||||
}
|
||||
Log.d(TAG, "delete file: $localPath")
|
||||
@@ -161,7 +162,7 @@ class CosStatusController : CosStatusCallback {
|
||||
// CosCallbackMapController.mainService?.sendCustomResult(it)
|
||||
// }
|
||||
// } 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,
|
||||
longitude: 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 {
|
||||
mainServiceHttpModel.sendInformationMessage(
|
||||
fromType = mFromType,
|
||||
fromType = fromType,
|
||||
type = type,
|
||||
url = map,
|
||||
isCustom = it,
|
||||
|
||||
Reference in New Issue
Block a user