获取时间的函数有很多,ngx.today(), ngx.time(), ngx.utctime(), ngx.localtime(), ngx.now()这些都很常用,ngx.now()这个函数返回的是时间戳的秒数,*1000就是毫秒了