Browse Source

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_task

xingzai 5 months ago
parent
commit
362622ea2d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      services/comein/comein.go

+ 2 - 0
services/comein/comein.go

@@ -546,6 +546,8 @@ func SyncWhiteList(cont context.Context) (err error) {
 			}
 		}
 	}
+	delMobiles = strings.TrimSuffix(delMobiles, ",")
+	delEmials = strings.TrimSuffix(delEmials, ",")
 	if len(delList) > 0 {
 		err = syncWhiteList(delMobiles, delEmials, 2)
 		if err != nil {