[6.0.0] fix chain log param without gson,which has impl gson func
This commit is contained in:
@@ -367,12 +367,12 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
|
||||
nodeAliasCode = CHAIN_CODE_HTTP_DNS_ERROR_REASON,
|
||||
paramIndexes = [0]
|
||||
)
|
||||
private fun logError(pr: String) {
|
||||
private fun logError(pr: Map<String,Any>) {
|
||||
CallerLogger.e("$M_MAIN$TAG", "pr:$pr")
|
||||
}
|
||||
|
||||
// 归一处理
|
||||
private fun getPrReason(msg: String): String {
|
||||
private fun getPrReason(msg: String): Map<String,Any> {
|
||||
val map = hashMapOf<String, Any>()
|
||||
map["lat"] =
|
||||
if (CallerChassisLocationGCJ02ListenerManager.getChassisLocationGCJ02().latitude != 0.0)
|
||||
@@ -383,7 +383,7 @@ class HttpDnsStartUp : AndroidStartup<Boolean>() {
|
||||
CallerChassisLocationGCJ02ListenerManager.getChassisLocationGCJ02().longitude else
|
||||
CallerMapUIServiceManager.getGDLocationServer()!!.lastLon
|
||||
map["reason"] = msg
|
||||
return GsonUtils.toJson(map)
|
||||
return map
|
||||
}
|
||||
|
||||
@ChainLog(
|
||||
|
||||
Reference in New Issue
Block a user