feat: cache optimize

This commit is contained in:
withchao 2023-11-02 16:39:27 +08:00
parent 55032f6836
commit 7e0c68f477

View File

@ -53,7 +53,7 @@ func (g *objectCacheRedis) DelObjectName(names ...string) ObjectCache {
}
func (g *objectCacheRedis) getObjectKey(name string) string {
return "OBJECT_INFO:" + name
return "OBJECT:" + name
}
func (g *objectCacheRedis) GetName(ctx context.Context, name string) (*relationtb.ObjectModel, error) {