init: import web_huangguo2 server project

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 10:47:38 +08:00
co-authored by Claude Opus 4.7
commit a50c9c342e
668 changed files with 141008 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
package navigationapi
import (
"videoweb/app/service/navigationser"
"videoweb/pub/common"
"videoweb/pub/common/srvdef"
"github.com/gin-gonic/gin"
)
// HeaderNavigation 查询头部导航配置
// @Tags app导航相关接口
// @Summary 查询头部导航配置 -- by 王鸣
// @Description 查询导航类型为URL模式和二级导航的头部导航配置
// @Accept json
// @Produce json
// @Success 200 {object} proto.AppTranslationInfo "成功"
// @Failure 400 {string} string "失败"
// @Router /api/app/navigation/header [get]
func HeaderNavigation(ctx *gin.Context) {
resp, err := navigationser.HeaderNavigation(ctx)
if err != nil {
common.ServerJSON(ctx, err, err.GetMsg())
return
}
common.JSONWriterCache(ctx, srvdef.Success, resp)
}