//获取当前时间戳 static inline NSString * getTimeStamp(){ NSTimeInterval d=[[NSDate date] timeIntervalSince1970]*1000; double stamp=d; return [NSString stringWithFormat:@"%.0lf",stamp]; }