From 8a84d23c03a411226d6ce48ee18058ae7fdf4f10 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Sun, 29 Sep 2024 15:27:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_medium_agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/svc_medium_agent.go b/app/svc/svc_medium_agent.go index 2fbc27d..b7f9db1 100644 --- a/app/svc/svc_medium_agent.go +++ b/app/svc/svc_medium_agent.go @@ -212,7 +212,7 @@ func GetMediumInfo(c *gin.Context, mediumId int) map[string]string { "name": "", } NewMediumDb := implement2.NewMediumDb(MasterDb(c)) - NewMediumListDb := implement.NewMediumListDb(MasterDb(c)) + NewMediumListDb := implement.NewMediumListDb(db.Db) medium := NewMediumDb.GetSuperAdmin(mediumId) if medium != nil { res["account"] = medium.Username