修复gins.SetDatabase方法参数

This commit is contained in:
John 2018-04-10 15:48:24 +08:00
parent 3b31fda887
commit 0992343aab

View File

@ -49,7 +49,7 @@ func SetConfig(v *gcfg.Config) {
}
// 自定义框架核心组件Database
func SetDatabase(v gdb.Link, names...string) {
func SetDatabase(v *gdb.Db, names...string) {
dbCacheKey := gFRAME_CORE_COMPONENT_NAME_DATABASE
if len(names) > 0 {
dbCacheKey += names[0]