gorm升级到v2版本
This commit is contained in:
1 parent
93cfe443d6
commit
60c7496f7b
56 files changed
+630
-477
No files matched your search
+1
-2
@@ -91,7 +91,6 @@ func registerDBRouter(api *gin.RouterGroup) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func registerSysTableRouter(v1 *gin.RouterGroup) {
|
||||
systables := v1.Group("/sys/tables")
|
||||
{
|
||||
@@ -102,7 +101,7 @@ func registerSysTableRouter(v1 *gin.RouterGroup) {
|
||||
tablesinfo.PUT("", UpdateSysTable)
|
||||
tablesinfo.DELETE("/:tableId", DeleteSysTables)
|
||||
tablesinfo.GET("/:tableId", GetSysTables)
|
||||
tablesinfo.GET("",GetSysTablesInfo)
|
||||
tablesinfo.GET("", GetSysTablesInfo)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user