Initial commit: web_hghl_server

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-26 16:28:14 +08:00
co-authored by Claude Opus 4.7
commit 65fca60622
653 changed files with 135901 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package router
import (
"videoweb/web/api/web_translation"
"github.com/gin-gonic/gin"
)
func translationRouter(router *gin.RouterGroup) {
translation := router.Group("/translation")
{
translation.POST("/list", web_translation.GetTranslation)
translation.POST("/update", web_translation.UpdateOnetTranslation)
translation.POST("/del", web_translation.DelOnetTranslation)
translation.POST("/add", web_translation.AddOnetTranslation)
}
translationcategory := router.Group("/translationcategory")
{
translationcategory.POST("/list", web_translation.GetTranslationCategory)
translationcategory.POST("/update", web_translation.UpdateOnetTranslationCategory)
translationcategory.POST("/del", web_translation.DelOnetTranslationCategory)
translationcategory.POST("/add", web_translation.AddOnetTranslationCategory)
}
}