|
|
|
@ -266,9 +266,6 @@ export const whatsappMsgTypeMapped = {
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
originText: msg.image?.caption || '',
|
|
|
|
|
// onOpen: () => {
|
|
|
|
|
// console.log('Open image', msg.image.link);
|
|
|
|
|
// },
|
|
|
|
|
}),
|
|
|
|
|
renderForReply: (msg) => ({
|
|
|
|
|
id: msg.wamid,
|
|
|
|
@ -377,7 +374,7 @@ export const whatsappMsgTypeMapped = {
|
|
|
|
|
id: msg.wamid,
|
|
|
|
|
title: `位置信息 ${msg.location.name || ''} ↓打开高德地图`,
|
|
|
|
|
text: msg.location.address, // 地址
|
|
|
|
|
src: `https://uri.amap.com/marker?position=${msg.location.longitude},${msg.location.latitude}`,
|
|
|
|
|
src: `https://uri.amap.com/marker?position=${msg.location.longitude},${msg.location.latitude}&callnative=1`,
|
|
|
|
|
data: {
|
|
|
|
|
longitude: msg.location?.longitude,
|
|
|
|
|
latitude: msg.location?.latitude,
|
|
|
|
|