执行的代码段类似如下:
// 发送订阅消息
let res = await uniSubscribemsg.sendSubscribeMessage({
touser: msg.openid,
template_id: msg.template_id,
page: "pages/index/index",
miniprogram_state: "trial",
lang: "zh_CN",
data: {
thing1: {
value: "还差0人即可免运费,赶快行动吧!"
},
thing2: {
value: "分享免运费"
},
thing3: {
value: "分享达2个点赞即可免运费"
}
}
})
1 个回复
DCloud_uniCloud_VK
循环执行的吗? 就是超时了