Initial commit: web_hghl_server
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"videoweb/web/api/web_app"
|
||||
)
|
||||
|
||||
func appSyncRouter(router *gin.RouterGroup) {
|
||||
sync := router.Group("/sync")
|
||||
{
|
||||
sync.POST("/video/list", web_app.AppSyncReq)
|
||||
sync.POST("/videocollection/list", web_app.AppCollectionSyncReq)
|
||||
sync.POST("/category/list", web_app.AppGetVideoCategory)
|
||||
sync.POST("/creator/list", web_app.AppGetVideoCreator)
|
||||
sync.POST("/tag/list", web_app.AppGetVideoTag)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user