mirror of
https://gitlab.52pay.top/go/easygoadmin.git
synced 2025-09-27 03:28:08 +08:00
feat: 增加数据库前缀配置
增加数据库前缀配置
This commit is contained in:
@@ -20,6 +20,8 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
var Router *gin.Engine
|
||||
|
||||
func init() {
|
||||
//gin.SetMode(gin.ReleaseMode)
|
||||
//gin.SetMode(gin.DebugMode)
|
||||
@@ -301,6 +303,7 @@ func init() {
|
||||
example2.POST("/delete/:ids", controller.Example2.Delete)
|
||||
example2.POST("/setStatus", controller.Example2.Status)
|
||||
}
|
||||
Router = router
|
||||
// 启动
|
||||
//router.Run(":9097")
|
||||
}
|
||||
|
Reference in New Issue
Block a user