报错
This commit is contained in:
parent
1785037abb
commit
5b9b73f76b
@ -38,8 +38,8 @@ func (this *DB) init() (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *DB) Local() *DBConn {
|
func (this *DB) Local() *DBConn {
|
||||||
if this.cross == nil {
|
if this.local == nil {
|
||||||
log.Panic("CrossDBConn on init")
|
log.Panic("LocalDBConn on init")
|
||||||
}
|
}
|
||||||
return this.local
|
return this.local
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user