Files
ycc-proxy-server/app/main/api/internal/handler/app/getappconfighandler.go
2025-12-09 18:55:28 +08:00

18 lines
406 B
Go

package app
import (
"net/http"
"ycc-server/app/main/api/internal/logic/app"
"ycc-server/app/main/api/internal/svc"
"ycc-server/common/result"
)
func GetAppConfigHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
l := app.NewGetAppConfigLogic(r.Context(), svcCtx)
resp, err := l.GetAppConfig()
result.HttpResult(r, w, resp, err)
}
}