wangchuanjin %!s(int64=2) %!d(string=hai) anos
pai
achega
8d6a5427e8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/public.go

+ 1 - 1
public/public.go

@@ -290,7 +290,7 @@ func GetCompatibleUser(mgo *MongodbSim, sessVal map[string]interface{}, field ma
 			user = *temp
 		}
 	} else {
-		entUserId := sessVal["entUserId"]
+		entUserId := util.IntAll(sessVal["entUserId"])
 		if field["o_entniche"] > 0 || field["o_vipjy"] > 0 || field["o_member_jy"] > 0 || field["o_jy"] > 0 {
 			entniche_rule, ok := mgo.Find("entniche_rule", map[string]interface{}{
 				"i_userid": entUserId,