feat: 增加数据库前缀配置

增加数据库前缀配置
This commit is contained in:
yaoyilin
2022-11-01 10:34:03 +08:00
parent dbd3c3c247
commit fec60fcda9
4 changed files with 7 additions and 2 deletions

View File

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