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