使用下面的代码获得时间戳。long epoch = System.currentTimeMillis()/1000;
long epoch = System.currentTimeMillis()/1000;