新增物流接口
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type ICacheAdapter interface {
|
||||
Set(ctx context.Context, number string, res string, ttl time.Duration) error
|
||||
Get(ctx context.Context, number string) (*ExpressRes, error)
|
||||
Del(ctx context.Context, number string) error
|
||||
Set(ctx context.Context, key string, res string, ttl time.Duration) error
|
||||
Get(ctx context.Context, key string) (*ExpressRes, error)
|
||||
Del(ctx context.Context, key string) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user