1.设置Pre-request Script
postman.setGlobalVariable("startTime",Date.parse(new Date("2020/10/21 00:00:00")));
2.body写法(param不支持这样传日期类型的值)
3.后台接收数据
1.设置Pre-request Script
postman.setGlobalVariable("startTime",Date.parse(new Date("2020/10/21 00:00:00")));
2.body写法(param不支持这样传日期类型的值)
3.后台接收数据