postman 獲取時間戳的方法 和md5加密的方法


獲取時間戳方法:

postman.setGlobalVariable("timestamp",Math.round(new Date().getTime()));   這整句是獲取時間戳並設置為全局變量

md5加密方法:

var strmd5 = CryptoJS.MD5(str);  str 是拼接好的字符

 

 

參考:http://www.51testing.com/html/30/n-3722830.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM