refactor: 重命名集合常量并优化配置注释
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package consts
|
||||
|
||||
// MongoDB集合名称常量
|
||||
const (
|
||||
FileCollection = "file"
|
||||
TenantOssTotalCollection = "tenant_oss_total"
|
||||
)
|
||||
7
consts/table_name.go
Normal file
7
consts/table_name.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package consts
|
||||
|
||||
// 数据库表名
|
||||
const (
|
||||
TableNameFile = "file"
|
||||
TableNameTenantOssTotal = "tenant_oss_total"
|
||||
)
|
||||
Reference in New Issue
Block a user