refactor: 重命名集合常量并优化配置注释

This commit is contained in:
2026-03-27 10:59:54 +08:00
parent 12a743d8da
commit 7b8caaca53
5 changed files with 28 additions and 24 deletions

View File

@@ -1,7 +0,0 @@
package consts
// MongoDB集合名称常量
const (
FileCollection = "file"
TenantOssTotalCollection = "tenant_oss_total"
)

7
consts/table_name.go Normal file
View File

@@ -0,0 +1,7 @@
package consts
// 数据库表名
const (
TableNameFile = "file"
TableNameTenantOssTotal = "tenant_oss_total"
)