package router import ( "github.com/gin-gonic/gin" "github.com/zggsong/gin-vue-demo/controller" ) func CollectRoute(r *gin.Engine) *gin.Engine { r.POST("/api/auth/register", controller.Register) return r }