postman配置预处理脚本等 2021-11-16 23:30:14 Onns try Visits 0 记录 postman 相关用法。 1234567var city_id = pm.request.url.query.get("cityId");console.log(city_id);var ts = parseInt(Date.now() / 1000);console.log(ts);var hash = CryptoJS.MD5(password + ts + city_id).toString();pm.globals.set("moji_key", hash);pm.globals.set("ts", ts);