|
@@ -212,7 +212,7 @@ func GetMediumInfo(c *gin.Context, mediumId int) map[string]string { |
|
|
"name": "", |
|
|
"name": "", |
|
|
} |
|
|
} |
|
|
NewMediumDb := implement2.NewMediumDb(MasterDb(c)) |
|
|
NewMediumDb := implement2.NewMediumDb(MasterDb(c)) |
|
|
NewMediumListDb := implement.NewMediumListDb(MasterDb(c)) |
|
|
|
|
|
|
|
|
NewMediumListDb := implement.NewMediumListDb(db.Db) |
|
|
medium := NewMediumDb.GetSuperAdmin(mediumId) |
|
|
medium := NewMediumDb.GetSuperAdmin(mediumId) |
|
|
if medium != nil { |
|
|
if medium != nil { |
|
|
res["account"] = medium.Username |
|
|
res["account"] = medium.Username |
|
|