.getShareTemplates
概述
调用方法
wx.tmSDK.getShareTemplates().then((res) => {
console.log(res);
})返回值样例
{
"scene_1":[{
"channel_code": "channelA", //渠道码
"title":"分享标题",
"image":"分享图片",
"path":"pages/index/index", //跳转小程序路径
"scene":"scene_1", //使用的分享位ID
}],
"scene_2":[{
"channel_code": "channelB", //渠道码
"title":"分享标题",
"image":"分享图片",
"path":"pages/index/index", //跳转小程序路径
"scene":"scene_2", //使用的分享位ID
}]
}返回值详解
最后更新于