0


postman中json传date时间类型参数

{
"startTime": {{startTime}},
"endTime": {{endTime}},
"createStartTime": {{createStartTime}},
"createEndTime": {{createEndTime}}
}

postman.setGlobalVariable("startTime",Date.parse(new Date("2021/06/01 00:00:10")));
postman.setGlobalVariable("endTime",Date.parse(new Date("2024/06/13 23:59:10")));
postman.setGlobalVariable("createStartTime",Date.parse(new Date("2021/06/01 00:00:10")));
postman.setGlobalVariable("createEndTime",Date.parse(new Date("2023-07-25 17:36:16")));


本文转载自: https://blog.csdn.net/pyd1040201698/article/details/131926269
版权归原作者 pyd1040201698 所有, 如有侵权,请联系我们删除。

“postman中json传date时间类型参数”的评论:

还没有评论