方法一: var moment = require('moment'); var data = moment().format(" YYYYMMDDHHmmss"); console.log(data); pm.globals.set("time", data); 最后一步是把这个data设置到全局变量time中 方法二: var myDate=new Date(); var year = myDate.getFullYear(); var month = myDa
Postman中的报错: Could not get any response 错误 Could not get any response There was an error connecting to http://127.0.0.1:8888/api/private/v1/login. Why this might have happened: The server couldn't send a response: Ensure that the backend is working p