应该不是动态的吧 这个score明文值是800,请求可以重放,加密模块的云函数数据也就传了这个值。。
请求接口数据是这三个:
openid = xxxxxxxxxx
score = CgaOyx7wNzWpEw5ByD6YgV0FXAtj7M1z06hsw2xm0ZFgt4pILQwjhWS1BXxe89HF/lLlTfiT3cggQbemJc+kSU/V9BjuaBzsr068YjhSPQ9wlEBSB6H08hwqyYThW7HQKc0TgNu8gES9AjAo9LQBcSR8Vs6zCKbL682vs3mQnJ17AbTaDHp2a6ccZwDGdnK8b66hXr0g4/4bogAagcGZ0JFVkMEV1etNtmKCLvzm2Bra4ogVOXK2Mg/6fW+ZfAH/eorOmbURpw2fQAtWPauIRJECB7CP0xhqdh8205TtlvyiueahddF1gBC4CVdSU3aJg/b05zoyjo2siwvanhPLoA==
tempId=null
score加密模块:
[JavaScript] 纯文本查看 复制代码 cloudRsa: function cloudRsa(e, t) {
g.iswxgame() && (wx.cloud.init({
traceUser: !0
}), wx.cloud.callFunction({
name: "rsa",
data: {
score: e
},
complete: function complete(e) {
t(e.result.encrypted);
}
}));
}
想问问佬有没有什么方法指点一二 |