Files
bdqr-server/app/main/api/internal/handler/agent/getteamstatisticshandler.go

18 lines
430 B
Go
Raw Normal View History

2026-01-06 12:25:25 +08:00
package agent
import (
"net/http"
"bdqr-server/app/main/api/internal/logic/agent"
"bdqr-server/app/main/api/internal/svc"
"bdqr-server/common/result"
)
func GetTeamStatisticsHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := agent.NewGetTeamStatisticsLogic(r.Context(), svcCtx)
resp, err := l.GetTeamStatistics()
result.HttpResult(r, w, resp, err)
}
}