日志计划42天请求方式(P258行)

2017-08-10  本文已影响0人  eb7a9dac29d0

/*

//42天请求方式

self.yearsNum = [dateArr[0] integerValue];

self.monthsNum = [dateArr[1] integerValue];

WeakSelf(weakSelf);

[self.CalendarView setStartorEndDateBlock:^(NSString *startDate,NSString *endDate){

weakSelf.startDate = startDate;

weakSelf.endDate = endDate;

if ([startDate isEqualToString:@"0"]) {

_ParamStartDate = [NSString stringWithFormat:@"%ld-%ld-%d",weakSelf.yearsNum,weakSelf.monthsNum,01];

_ParamEndDate = [NSString stringWithFormat:@"%ld-%ld-%@",weakSelf.yearsNum,weakSelf.monthsNum+1,endDate];

}else{

_ParamStartDate = [NSString stringWithFormat:@"%ld-%ld-%@",weakSelf.yearsNum,weakSelf.monthsNum-1,startDate];

_ParamEndDate = [NSString stringWithFormat:@"%ld-%ld-%@",weakSelf.yearsNum,weakSelf.monthsNum+1,endDate];

}

[weakSelf requestDailyRecord];

}];

*/

上一篇 下一篇

猜你喜欢

热点阅读