报错
This commit is contained in:
parent
1785037abb
commit
5b9b73f76b
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user