收藏
回答

公众号一次性订阅消息 应用跳转的域名非法?

如题,怎么都试了,还是非法域名,微信认证也没有过期

// 一次性订阅

function dingyue(){

var tempid = 'RaJZo6nJ1q_nLjJvzjtlxBZ-pKbWpssddVcScjKPn_E'

var redirectUri1 = encodeURIComponent('http://sjz.hbzwfw.gov.cn/hbpjfxgl/cs/index.html');

window.location.href = `https://mp.weixin.qq.com/mp/subscribemsg?action=get_confirm&appid=${appid}&scene=1000&template_id=${tempid}&redirect_url=${redirectUri1}&reserved=test#wechat_redirect`

}


回答关注问题邀请回答
收藏

5 个回答

登录 后发表内容