|
|
@@ -26,8 +26,10 @@ func AppletApplicationAdSpaceMediumList(c *gin.Context) { |
|
|
|
} |
|
|
|
engine := MasterDb(c) |
|
|
|
NewMediumDb := implement.NewMediumDb(engine) |
|
|
|
user := GetUser(c) |
|
|
|
appId := GetMediumIdStr(c, user.AdmId, req.Name, req.Account) |
|
|
|
|
|
|
|
list, total, _ := NewMediumDb.FindSuperAdmin(req.Account, req.Name, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) |
|
|
|
list, total, _ := NewMediumDb.FindSuperAdminByMediumId(appId, utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) |
|
|
|
data := make([]md.AppletApplicationAdSpaceMediumListData, 0) |
|
|
|
if len(list) > 0 { |
|
|
|
for _, v := range list { |
|
|
|