|
@@ -170,7 +170,7 @@ func (this *BillController) Detail() {
|
|
|
}
|
|
|
totalReadDuration := 0.00
|
|
|
if rddpTotal <= 0 {
|
|
|
- totalReadDuration = rddpTotalPlaySeconds + float64(weekTotal)*(float64(utils.GetRandInt(3, 300))/float64(10.00))
|
|
|
+ totalReadDuration = rddpTotalPlaySeconds + float64(weekTotal)*(float64(utils.GetRandInt(150, 155))/float64(10.00))
|
|
|
} else {
|
|
|
totalReadDuration = rddpTotalPlaySeconds + (rddpTotalPlaySeconds/float64(rddpTotal))*float64(weekTotal)
|
|
|
}
|
|
@@ -254,7 +254,7 @@ func (this *BillController) Detail() {
|
|
|
resp.ListenReportDuration = utils.FixFloat((listenVideoPlaySeconds / 60.00), 2)
|
|
|
resp.MaxReadReportCount = maxReadReportCount
|
|
|
resp.MaxReadReportDate = maxReadReportDate.Format("2006年01月02日")
|
|
|
- if lastestCreateDate != "" {
|
|
|
+ if lastestCreateDate == "" {
|
|
|
resp.LatestReadReportDate = ""
|
|
|
} else {
|
|
|
lastestDate, _ := time.Parse("2006-01-02", lastestCreateDate)
|