/**
* 处理时间
*/
- (NSString *)timeWithTimeIntervalString:(NSString *)timeString {
// 格式化时间
NSDateFormatter* formatter = [[NSDateFormatter alloc] init];
formatter.timeZone= [NSTimeZonetimeZoneWithName:@"Asia/Shanghai"];
[formattersetDateStyle:NSDateFormatterMediumStyle];
[formatter setTimeStyle:NSDateFormatterShortStyle];
//[formatter setDateFormat:@"yyyy-MM-dd HH:mm"];
[formatter setDateFormat:@"yyyy-MM-dd"];
// 毫秒值转化为秒
NSDate*date= [NSDate dateWithTimeIntervalSince1970:[timeString doubleValue]];
NSString* dateString = [formatter stringFromDate:date];
returndateString;
}