|
@@ -70,7 +70,9 @@ func AppletApplicationAdSpaceList(c *gin.Context) { |
|
|
} |
|
|
} |
|
|
engine := MasterDb(c) |
|
|
engine := MasterDb(c) |
|
|
NewAppletApplicationDb := implement.NewAppletApplicationAdSpaceListDb(engine) |
|
|
NewAppletApplicationDb := implement.NewAppletApplicationAdSpaceListDb(engine) |
|
|
appletApplicationList, total, _ := NewAppletApplicationDb.FindAppletApplicationAdSpaceList(req.Name, req.Platform, req.CooperateState, utils.StrToInt(req.MediumId), utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) |
|
|
|
|
|
|
|
|
//TODO::临时处理 |
|
|
|
|
|
//appletApplicationList, total, _ := NewAppletApplicationDb.FindAppletApplicationAdSpaceList(req.Name, req.Platform, req.CooperateState, utils.StrToInt(req.MediumId), utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) |
|
|
|
|
|
appletApplicationList, total, _ := NewAppletApplicationDb.FindAppletApplicationAdSpaceList(req.Name, req.Platform, "", req.CooperateState, utils.StrToInt(req.MediumId), utils.StrToInt(req.Page), utils.StrToInt(req.Limit)) |
|
|
data := make([]md.AppletApplicationAdSpaceListData, 0) |
|
|
data := make([]md.AppletApplicationAdSpaceListData, 0) |
|
|
if len(appletApplicationList) > 0 { |
|
|
if len(appletApplicationList) > 0 { |
|
|
for _, v := range appletApplicationList { |
|
|
for _, v := range appletApplicationList { |
|
|