huangjiajun pirms 3 dienas
vecāks
revīzija
76f513eff9
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      app/svc/svc_data_center_original_data.go

+ 2
- 2
app/svc/svc_data_center_original_data.go Parādīt failu

@@ -84,8 +84,7 @@ func OriginalDataMoreApplication(c *gin.Context, req md.DataCenterOriginalDataMo
engine := MasterDb(c)
NewAppletApplicationAdSpaceListDb := implement2.NewAppletApplicationAdSpaceListDb(engine)
user := GetUser(c)
appId := GetAppletIdByAdminId(c, user.AdmId, req.Name, "", "")

appId := GetMediumIdStr(c, user.AdmId, req.Name, "")
MediumList, total, _ := NewAppletApplicationAdSpaceListDb.FindAppletApplicationAdSpaceList(req.Name, "", "", "", appId, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
data := make([]md.DataCenterOriginalDataMoreApplicationData, 0)
if len(MediumList) > 0 {
@@ -394,6 +393,7 @@ func GetAppletId(c *gin.Context, name, platform, appId string) string {
}
return appIds
}

func GetAppletIdByAdminId(c *gin.Context, admId int, name, platform, appIdStr string) string {
appId := GetAppletId(c, name, platform, appIdStr)
appIds := []string{"-1"}


Notiek ielāde…
Atcelt
Saglabāt