From 5b9b73f76be9057ca4aa9d9934c0fc088bed349a Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Wed, 10 Aug 2022 09:54:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/db/db.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/db/db.go b/sys/db/db.go index bc9b4e237..dcf46965c 100644 --- a/sys/db/db.go +++ b/sys/db/db.go @@ -38,8 +38,8 @@ func (this *DB) init() (err error) { } func (this *DB) Local() *DBConn { - if this.cross == nil { - log.Panic("CrossDBConn on init") + if this.local == nil { + log.Panic("LocalDBConn on init") } return this.local }