rdluck 4 年之前
父節點
當前提交
966ddeff9d
共有 1 個文件被更改,包括 3 次插入1 次删除
  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)