feat:Extract global configuration

This commit is contained in:
zhangwenjian committed 2020-07-06 07:53:34 +08:00
1 parent a6970e9c67
commit bfbc5081ea
15 files changed
+155 -207

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ func GetDBTableList(c *gin.Context) {
var err error
var pageSize = 10
var pageIndex = 1
//if config2.DatabaseConfig.DbType=="sqlite3"{
//if config2.DatabaseConfig.Driver=="sqlite3"{
// res.Msg="对不起,sqlite3 暂不支持代码生成!"
// c.JSON(http.StatusOK, res.ReturnError(500))
// return