fix(entcms): 修正 DBPools 导入路径 from sqlor.dbpools
This commit is contained in:
parent
8c5cb3fe3f
commit
2a49ed80d1
@ -14,7 +14,7 @@ DBNAME = "entcms"
|
||||
|
||||
def _get_db():
|
||||
"""获取数据库上下文"""
|
||||
from sqlor import DBPools
|
||||
from sqlor.dbpools import DBPools
|
||||
return DBPools().sqlorContext(DBNAME)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user