From ace99a172b8b31e13b60d56bdf0a55942582757c Mon Sep 17 00:00:00 2001 From: NoahLan <6995syu@163.com> Date: Mon, 7 Aug 2023 15:05:04 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=90=AF?= =?UTF-8?q?=E7=94=A8=20isEnt=E6=83=85=E5=86=B5=E4=B8=8B=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpc/svc.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rpc/svc.tpl b/rpc/svc.tpl index 563777f..6de52a1 100644 --- a/rpc/svc.tpl +++ b/rpc/svc.tpl @@ -29,14 +29,13 @@ func NewServiceContext(c config.Config) *ServiceContext { ent.Driver(c.DatabaseConf.NewNoCacheDriver()), ent.Debug(), // debug mode ) - {{end}} - rds := redis.MustNewRedis(redis.RedisConf{ Host: c.RedisConf.Addr, Type: c.RedisConf.Type, Pass: c.RedisConf.Password, Tls: c.RedisConf.Tls, }) + {{end}} return &ServiceContext{ Config: c,