1、咪咕管理后台用户留存记录(按天)查询优化,添加总记录数;
This commit is contained in:
parent
4dc1acec30
commit
683ee91cb5
|
@ -1683,7 +1683,7 @@ func (e MiGuDeployService) UserDayRetentionList(c *gin.Context) {
|
||||||
return retentionData[i].Date > retentionData[j].Date
|
return retentionData[i].Date > retentionData[j].Date
|
||||||
})
|
})
|
||||||
|
|
||||||
totalRecords := len(retentionData) // 总记录数
|
totalRecords := len(dateList) // 总记录数
|
||||||
|
|
||||||
// 返回分页后的数据
|
// 返回分页后的数据
|
||||||
resp.List = retentionData
|
resp.List = retentionData
|
||||||
|
|
Loading…
Reference in New Issue
Block a user