mirror of
https://github.com/keven1024/015.git
synced 2026-05-31 01:19:35 +00:00
20 lines
450 B
Go
20 lines
450 B
Go
package controllers
|
|
|
|
import (
|
|
"backend/internal/utils"
|
|
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
func GetAbout(c echo.Context) error {
|
|
|
|
return utils.HTTPSuccessHandler(c, map[string]any{
|
|
"bg_url": utils.GetEnv("about.bg_url"),
|
|
"content": utils.GetEnvMapString("about.content"),
|
|
"email": utils.GetEnv("about.email"),
|
|
"name": utils.GetEnv("about.name"),
|
|
"url": utils.GetEnv("about.url"),
|
|
"avatar": utils.GetEnv("about.avatar"),
|
|
})
|
|
}
|