|
|
|
@@ -305,6 +305,7 @@ func makeResultForMonth(allUserInfo []UserMetrics, count int) []UserMetrics { |
|
|
|
monthUserMetrics.ActivateRegistUser = userMetrics.ActivateRegistUser |
|
|
|
monthUserMetrics.NotActivateRegistUser = userMetrics.NotActivateRegistUser |
|
|
|
monthUserMetrics.TotalUser = userMetrics.TotalUser |
|
|
|
monthUserMetrics.TotalNotActivateRegistUser = userMetrics.TotalUser - userMetrics.TotalActivateRegistUser |
|
|
|
monthUserMetrics.TotalActivateRegistUser = userMetrics.TotalActivateRegistUser |
|
|
|
monthUserMetrics.TotalHasActivityUser = userMetrics.TotalHasActivityUser |
|
|
|
monthUserMetrics.HasActivityUser = userMetrics.HasActivityUser |
|
|
|
@@ -315,9 +316,6 @@ func makeResultForMonth(allUserInfo []UserMetrics, count int) []UserMetrics { |
|
|
|
value := monthMap[month] |
|
|
|
value.ActivateRegistUser += userMetrics.ActivateRegistUser |
|
|
|
value.NotActivateRegistUser += userMetrics.NotActivateRegistUser |
|
|
|
value.TotalUser += userMetrics.TotalUser |
|
|
|
value.TotalActivateRegistUser += userMetrics.TotalActivateRegistUser |
|
|
|
value.TotalHasActivityUser += userMetrics.TotalHasActivityUser |
|
|
|
value.HasActivityUser += userMetrics.HasActivityUser |
|
|
|
value.TotalRegistUser += userMetrics.TotalRegistUser |
|
|
|
value.DaysForMonth += 1 |
|
|
|
|