/// 获取用户信息列表 func GetUserListInfo() { var redcli redis.Client redcli.Addr = beego.AppConfig.String("redis_addr") key := "wx_UserList" b, _ := redcli.Lrange(key, 0, -1) for _, v := range b { GetUserInfo(fmt.Sprintf("%s", v)) } }