Browse Source

更新

master
huangjiajun 3 weeks ago
parent
commit
93eef00ce2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/svc/svc_medium_agent.go

+ 1
- 1
app/svc/svc_medium_agent.go View File

@@ -319,7 +319,7 @@ func GetMediumIdStr(c *gin.Context, admId int, name, account string) string {
appIds = []string{"-1"} appIds = []string{"-1"}
ex := strings.Split(appId, ",") ex := strings.Split(appId, ",")
for _, v := range ex { for _, v := range ex {
if utils.InArr(v, ids) || len(list) == 0 || admId == super.AdmId {
if utils.InArr(v, ids) || admId == super.AdmId {
appIds = append(appIds, v) appIds = append(appIds, v)
} }
} }


Loading…
Cancel
Save