文件存储-定时同步租户文件存储容量信息接口优化
This commit is contained in:
@@ -7,9 +7,17 @@ import (
|
||||
"oss/model/entity"
|
||||
)
|
||||
|
||||
var File = &file{}
|
||||
var File = &file{
|
||||
NoCache: false,
|
||||
}
|
||||
|
||||
type file struct{}
|
||||
type file struct {
|
||||
NoCache bool
|
||||
}
|
||||
|
||||
func (d *file) SetNoCache() {
|
||||
File.NoCache = true
|
||||
}
|
||||
|
||||
// Insert 插入
|
||||
func (d *file) Insert(ctx context.Context, entity *entity.File) (err error) {
|
||||
|
||||
Reference in New Issue
Block a user