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) } }