// 配置参数 let activeId = "2197"; let awardId = 10266; let cOpenId = "aaaa"; letMAC = "001a9a000000"; let cUDID = "23320005"; let accessToken = "bbb"; let cChip = "ccc"; let cEmmcCID = "ddd"; let cModel = "eee";
// 签名 let signStr = `MAC=${MAC}&accessToken=${accessToken}&cChip=${cChip}&cEmmcCID=${cEmmcCID}&cModel=${cModel}&cOpenId=${cOpenId}&cUDID=${cUDID}&id=${activeId}&source=wechat`; var sign = CryptoJS.SHA256(signStr).toString();