Browse Source

更新

master
huangjiajun 4 days ago
parent
commit
76f513eff9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/svc/svc_data_center_original_data.go

+ 2
- 2
app/svc/svc_data_center_original_data.go View File

@@ -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"}


Loading…
Cancel
Save