123456789101112131415161718192021 |
- package router
- import (
- "gin-vue-admin/api/v1"
- "github.com/gin-gonic/gin"
- )
- func InitAutoCodeRouter(Router *gin.RouterGroup) {
- AutoCodeRouter := Router.Group("autoCode")
- {
- AutoCodeRouter.POST("delSysHistory", v1.DelSysHistory)
- AutoCodeRouter.POST("getMeta", v1.GetMeta)
- AutoCodeRouter.POST("getSysHistory", v1.GetSysHistory)
- AutoCodeRouter.POST("rollback", v1.RollBack)
- AutoCodeRouter.POST("preview", v1.PreviewTemp)
- AutoCodeRouter.POST("createTemp", v1.CreateTemp)
- AutoCodeRouter.GET("getTables", v1.GetTables)
- AutoCodeRouter.GET("getDB", v1.GetDB)
- AutoCodeRouter.GET("getColumn", v1.GetColumn)
- }
- }
|