This commit is contained in:
2025-04-14 15:28:51 +08:00
parent f100427f8b
commit 371b89ee8d
93 changed files with 3757 additions and 1038 deletions

View File

@@ -16,12 +16,12 @@ type CustomerBiz interface {
type customerBiz struct {
store db.Store
redis redis.IRedis
redis redis.RedisCache
}
var _ CustomerBiz = (*customerBiz)(nil)
func New(store db.Store, redis redis.IRedis) *customerBiz {
func New(store db.Store, redis redis.RedisCache) *customerBiz {
return &customerBiz{
store: store,
redis: redis,