优化key获取

This commit is contained in:
Jian Shen
2022-07-18 15:55:33 +08:00
parent 4edb26584d
commit 6d611ff6b6
@@ -55,7 +55,7 @@ class GaoDeUtils {
* @return
*/
static String getGaodeKey() {
JSONObject json = HttpRequestUtil.getJsonContent("http://192.168.0.100:38080/FangJiaDataService/getAmapKey")
JSONObject json = HttpRequestUtil.getJsonContent("http://192.168.0.100:38080/FangJiaDataService/getAmapKey", new HashMap<String, String>())
if (json.status == 0 && json.result != null) {
return json.result
}