add(系统诊断: 设备检测和系统检测、dals中数据库路径)
This commit is contained in:
@ -16,7 +16,7 @@ class BaseDal:
|
||||
def __init__(self) -> None:
|
||||
"""初始化数据访问层,创建数据库连接"""
|
||||
# 假设数据库文件在db目录下
|
||||
self.db_dao = SQLiteHandler.get_instance("../db/three.db", max_readers=50, busy_timeout=4000)
|
||||
self.db_dao = SQLiteHandler.get_instance("db/three.db", max_readers=50, busy_timeout=4000)
|
||||
|
||||
class ArtifactDal(BaseDal):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user