From 59073fb03bf7da156ad75f9212758472211cb497 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 27 Sep 2024 11:49:49 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/svc/svc_medium_agent.go b/app/svc/svc_medium_agent.go index 9c12c95..2fbc27d 100644 --- a/app/svc/svc_medium_agent.go +++ b/app/svc/svc_medium_agent.go @@ -24,7 +24,7 @@ func AgentBindMediumList(c *gin.Context) { //代理 查旗下 媒体 e.OutErr(c, err1.Code, err1.Error()) return } - var tmp model2.Agent + var tmp model.AgentList MasterDb(c).Where("id=?", req.Id).Get(&tmp) engine := db.Db agentWithMediumDb := implement.NewAgentWithMediumDb(engine) @@ -74,7 +74,7 @@ func MediumBindAgentList(c *gin.Context) { e.OutErr(c, err1.Code, err1.Error()) return } - var tmp model2.Medium + var tmp model.MediumList MasterDb(c).Where("id=?", req.Id).Get(&tmp) engine := db.Db agentWithMediumDb := implement.NewAgentWithMediumDb(engine)