A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update StatisticalByCache
aichy126383cc103208d
diff --git a/internal/service/dashboard/dashboard_service.go b/internal/service/dashboard/dashboard_service.goindex 11868acd..e47645fe 100644--- a/internal/service/dashboard/dashboard_service.go+++ b/internal/service/dashboard/dashboard_service.go@@ -89,6 +89,7 @@ func (ds *DashboardService) StatisticalByCache(ctx context.Context) (*schema.Das}startTime := time.Now().Unix() - schema.AppStartTime.Unix()dashboardInfo.AppStartTime = fmt.Sprintf("%d", startTime)+ dashboardInfo.VersionInfo.Version = constant.Versionreturn dashboardInfo, nil}