Ver código fonte

更新

master
huangjiajun 1 semana atrás
pai
commit
e2a1cfa508
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      app/svc/svc_data_center.go

+ 2
- 2
app/svc/svc_data_center.go Ver arquivo

@@ -152,13 +152,13 @@ func DataCenterRecordOutPut(c *gin.Context, req md.DataCenterRecordOutPutReq) {
}
var app []model2.AppletApplication
appMap := make(map[string]model2.AppletApplication)
MasterDb(c).In("app_id=?", appId).Find(&app)
MasterDb(c).In("app_id", appId).Find(&app)
for _, v := range app {
appMap[v.AppId] = v
}
var ad []model2.AppletApplicationAdSpaceList
adMap := make(map[string]model2.AppletApplicationAdSpaceList)
MasterDb(c).In("ad_id=?", adId).Find(&adMap)
MasterDb(c).In("ad_id", adId).Find(&adMap)
for _, v := range ad {
adMap[v.AdId] = v
}


Carregando…
Cancelar
Salvar