Explorar o código

Merge branch 'dev/v4.8.90.2_dx' of qmx/jy into hotfix/v4.8.90.2

duxin hai 1 ano
pai
achega
9f6acbf6b0
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/jfw/filter/anonymousUser.go

+ 2 - 1
src/jfw/filter/anonymousUser.go

@@ -97,6 +97,7 @@ func initPrivatePublicKey() {
 }
 
 func ChanMonitor() {
+
 	var (
 		saveData []map[string]interface{}
 		upData   []map[string]interface{}
@@ -174,7 +175,7 @@ func ChanMonitor() {
 				public.BaseMysql.SelectBySql(fmt.Sprintf(`UPDATE anonymous_identity
                     SET fid = CASE %s ELSE fid END,
                         trustedId = CASE %s ELSE trustedId END
-                    WHERE guestUID IN (%s);`, strings.Join(column1, " "), strings.Join(column2, " "), strings.Join(ids, " ")))
+                    WHERE guestUID IN (%s);`, strings.Join(column1, " "), strings.Join(column2, " "), strings.Join(ids, ",")))
 				upData = []map[string]interface{}{}
 			}
 		}