if (event?.title?.includes('weixin://dl')) {
let textObject = new wxopensdk.WXImageObject
textObject.uri = event.title
let mediaMessage = new wxopensdk.WXMediaMessage()
mediaMessage.mediaObject = textObject
let req = new wxopensdk.SendMessageToWXReq
req.scene = this.currentScene
req.message = mediaMessage
const context: common.UIAbilityContext = getContext(this) as common.UIAbilityContext;
WXApi.sendReq(context, req)
// this.webViewModel.controller.backward()
return
}
你好,具体调用那个接口