mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-05-07 22:41:41 +08:00
14 lines
243 B
Go
14 lines
243 B
Go
package system
|
|
|
|
import (
|
|
"github.com/0xJacky/Nginx-UI/internal/translation"
|
|
"github.com/gin-gonic/gin"
|
|
"net/http"
|
|
)
|
|
|
|
func GetTranslation(c *gin.Context) {
|
|
code := c.Param("code")
|
|
|
|
c.JSON(http.StatusOK, translation.GetTranslation(code))
|
|
}
|