|
|
@@ -310,7 +310,9 @@ func GetMediumIdStr(c *gin.Context, admId int, name, account string) string { |
|
|
|
appIds = append(appIds, utils.IntToStr(v.MediumId)) |
|
|
|
ids = append(ids, utils.IntToStr(v.MediumId)) |
|
|
|
} |
|
|
|
if len(list) == 0 { //为空就查全部 |
|
|
|
NewAdminDb := implement2.NewAdminDb(MasterDb(c)) |
|
|
|
super, _ := NewAdminDb.GetSuperAdmin() |
|
|
|
if admId == 0 || admId == super.AdmId { //为空就查全部 |
|
|
|
appIds = []string{} |
|
|
|
} |
|
|
|
if appId != "" { //不为空就判断 有没有在列表里面 |
|
|
|