This commit is contained in:
lixiaopeng
2020-08-31 15:11:10 +08:00
parent ef1c5a1d12
commit dffc68c4d2
2 changed files with 2 additions and 0 deletions

View File

@@ -202,6 +202,7 @@ class CosStatusController : CosStatusCallback {
) {
Log.d(TAG, "sendInformationDirectly isCustomSend = ${entity?.isCustom}")
Log.d(TAG, "sendInformationDirectly poiType= $poiType ---- mainInfoId= $mainInfoId")
//开始上传
entity?.isCustom?.let {
mainServiceHttpModel.sendInformationMessage(
type = type,

View File

@@ -235,6 +235,7 @@ class MainServiceController {
//删除测试数据
var locationInfo = LocationUtil.getInstance().getLocationInfo();
if (locationInfo.address.isNullOrEmpty()) {
Log.d(TAG, " sendInformationMessage locationInfo.address = $locationInfo.address");
geoLocation(type, url, locationInfo, isCustom,trafficInfoType, isShare, customSend,poiType,mainInfoId,longitude,latitude)
} else {
postInformationMessage(