This commit is contained in:
2025-10-24 15:39:20 +08:00
parent c72d0a7aa6
commit a258c360c2
28 changed files with 1335 additions and 351 deletions

View File

@@ -0,0 +1,17 @@
package agent
import (
"net/http"
"tydata-server/app/main/api/internal/logic/agent"
"tydata-server/app/main/api/internal/svc"
"tydata-server/common/result"
)
func GetMembershipInfoHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := agent.NewGetMembershipInfoLogic(r.Context(), svcCtx)
resp, err := l.GetMembershipInfo()
result.HttpResult(r, w, resp, err)
}
}