refactor(backend): 统一使用buildUserProjectQuery处理用户和项目查询条件

This commit is contained in:
xiaojunnuo
2026-06-03 23:32:14 +08:00
parent ea010f8c9b
commit cdb812ef63
8 changed files with 30 additions and 10 deletions
@@ -80,7 +80,7 @@ const development = {
type: "better-sqlite3",
database: "./data/db.sqlite",
synchronize: false, // 如果第一次使用,不存在表,有同步的需求可以写 true
logging: false,
logging: true,
highlightSql: false,
// 配置实体模型 或者 entities: '/entity',