[8.5.0]
[singapore] [用户信息展示]
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.mogo.map.utils
|
||||
|
||||
import com.mogo.commons.env.ProjectUtils
|
||||
|
||||
object HDMapUtils {
|
||||
private val cityCodeMap by lazy(LazyThreadSafetyMode.SYNCHRONIZED) {
|
||||
val map = HashMap<String, Int>()
|
||||
@@ -381,6 +383,9 @@ object HDMapUtils {
|
||||
*/
|
||||
@JvmStatic
|
||||
fun getHDCityCode(gdCityCode: String?): Int? {
|
||||
if(ProjectUtils.isSingapore()){
|
||||
return 7000
|
||||
}
|
||||
return cityCodeMap[gdCityCode]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user