chendeng 1 year ago
parent
commit
207ce0cb84

+ 1 - 2
uni_modules/ai-speak/api/service.js

@@ -467,7 +467,7 @@ export async function getGaodeSearch(address, city) {
 	};
 
 	let result = await request.get(GAODE_API_URL + 'v3/place/text?parameters', params);
-
+	console.log(result);
 	return result;
 }
 
@@ -485,7 +485,6 @@ export async function getGaodeGeocode(latitude, longitude) {
 	};
 
 	let result = await request.get(GAODE_API_URL + 'v3/geocode/regeo', params);
-
 	return result;
 }
 

+ 2 - 1
uni_modules/ai-speak/business/chat.js

@@ -372,7 +372,8 @@ export default class Chat {
 						console.log(v);
 						data = v;
 						if (v.type == CONSTANT.CHAT_ACTION.NAVIGATION) {
-							await this.map.getLocation(true);		//重新获取定位信息
+							let location = await this.map.getLocation(true);		//重新获取定位信息
+							console.log(location);
 							data.destination = await this.findDestinationInText(message, v);
 						}
 						break;

BIN
unpackage/debug/android_debug.apk