abiao před 5 roky
rodič
revize
6ddaccf26c

+ 1 - 1
go/gopath/src/fohow.com/apps/models/user_model/three_wx_user.go

@@ -191,7 +191,7 @@ func CopyWxUsers() {
 
 	//更新invite_id丢失会员
 	sql = `
-		update wx_users set invite_id=1 where invite_id=0 and id !=1
+		update wx_users set invite_id=1 where invite_id=0 and id >1
 	`
 	o.Raw(sql).Exec()