提交 0b5c909b 编写于 作者: d-u-a's avatar d-u-a

update: rewarded-video

上级 e60ed1be
......@@ -729,7 +729,7 @@ exports.main = async (event, context) => {
}
// 注意::必须验签请求来源
const secret = "";// uniad 后台开通激励视频回调后生成的 secret
const secret = "";// uniad 后台开通激励视频回调后生成的 Security key
const trans_id = event.trans_id;
const sign2 = crypto.createHash('sha256').update(`${secret}:${trans_id}`).digest('hex');
if (event.sign !== sign2) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册