优化key获取
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user