You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
409 B

package system
import (
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
"github.com/gin-gonic/gin"
)
type InitRouter struct{}
func (s *InitRouter) InitInitRouter(Router *gin.RouterGroup) {
initRouter := Router.Group("init")
dbApi := v1.ApiGroupApp.SystemApiGroup.DBApi
{
initRouter.POST("initdb", dbApi.InitDB) // 创建Api
initRouter.POST("checkdb", dbApi.CheckDB) // 创建Api
}
}