@@ -85,7 +85,7 @@ func (this *IndexController) IndexDataPageList() {
}
if req.EndDate == "" {
- req.EndDate = time.Now().Format(utils.FormatDate)
+ req.EndDate = time.Now().AddDate(0, 0, 1).Format(utils.FormatDate)
list, err := services.GetIndexDataPageList(req.Source, req.CurrPage, req.PageSize, req.StartDate, req.EndDate)