This commit is contained in:
2026-01-06 12:25:25 +08:00
commit e4665b9f6e
586 changed files with 69356 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
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 GetLevelPrivilegeHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := agent.NewGetLevelPrivilegeLogic(r.Context(), svcCtx)
resp, err := l.GetLevelPrivilege()
result.HttpResult(r, w, resp, err)
}
}