实名认证接口
This commit is contained in:
12
ali_cloud_tool/express_cache.go
Normal file
12
ali_cloud_tool/express_cache.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package ali_cloud_tool
|
||||
|
||||
import (
|
||||
"context"
|
||||
"time"
|
||||
)
|
||||
|
||||
type ICacheAdapter interface {
|
||||
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