rdluck 4 years ago
parent
commit
966ddeff9d
1 changed files with 3 additions and 1 deletions
  1. 3 1
      controllers/bill.go

+ 3 - 1
controllers/bill.go

@@ -79,7 +79,9 @@ func (this *BillController) Detail() {
 		togetherDay = expireDay
 		createDate = user.LastUpdatedTime.Format("2006年01月02日")
 	}
-
+	if togetherDay == "0" {
+		togetherDay="1"
+	}
 	//uid = 41555
 
 	firstReadReportType, firstReadReportTitle, err := models.GetFirstReportInfo(uid, startDate)