Browse Source

更新

master
huangjiajun 2 months ago
parent
commit
59073fb03b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/svc/svc_medium_agent.go

+ 2
- 2
app/svc/svc_medium_agent.go View File

@@ -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)


Loading…
Cancel
Save