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