librelist archives

« back to archive

modelName:setCustom()错误

modelName:setCustom()错误

From:
刚子
Date:
2011-08-12 @ 03:18
代码如下:
 for k,v in pairs(table) do
        data_set[k] = v;
        List.append(iclist, k)
    end
    for i, v in ipairs(iclist) do
        print(v)
    end
    Qzinfo:setCustom('invitecode', iclist, 'list')
报错:
ERROR    /usr/local/lib/lua/5.1/redis.lua:191: redis error: wrong number 
of arguments for 'exists' command
注:iclist长度5000

Re: [bamboo] modelName:setCustom()错误

From:
道哥
Date:
2011-08-18 @ 08:16
是bamboo框架的bug,已经修复。

在 2011-08-12 11:18:00,"刚子" <trustmore@163.com> 写道:

代码如下:
 for k,v in pairs(table) do
        data_set[k] = v;
        List.append(iclist, k)
    end
    for i, v in ipairs(iclist) do
        print(v)
    end
    Qzinfo:setCustom('invitecode', iclist, 'list')
报错:
ERROR    /usr/local/lib/lua/5.1/redis.lua:191: redis error: wrong number 
of arguments for 'exists' command
注:iclist长度5000