const appId='testId';
const appSecret ='testSecret';
const timeStamp = parseInt(Date.now()/1000);
//签名算法
//使用MD5加密(appId+appSecret+时间戳)
//时间戳:unix时间戳10位
signStr=appId+appSecret +timeStamp;
sign=CryptoJS.MD5(signStr).toString()
console.log("appId="+appId+"\t appSecret="+appSecret+"\t timeStamp="+timeStamp)
console.log("sign="+sign)
postman.setGlobalVariable("sign",sign);
postman.setGlobalVariable("appId",appId);
postman.setGlobalVariable("timeStamp",timeStamp);
{{timeStamp}}