提交 e230c642 编写于 作者: DCloud_JSON's avatar DCloud_JSON
......@@ -49,6 +49,7 @@ module.exports = async function (params) {
}, '').replace(/&$/, '')
const signature = createHash('sha1').update(signStr, 'utf8').digest('hex')
return {
errCode: 0,
appId: oauthConfig.appid, // 公众号的唯一标识
timestamp: signContent.timestamp, // 生成签名的时间戳
nonceStr: signContent.noncestr, // 生成签名的随机串
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册