--查找及设置key
local sValue = 'myname';
local itOut = 

--设置值
itOut = tnsys:serv_call('tn_common_redis','set',
        {key='name',value=sValue});
itOut:dump();

--获取值
tnsys:serv_call('tn_common_redis','get',
        {key='name'});
itOut:dump();

--设置超时
Copyright © TouchNet 2015 all right reserved,powered by Gitbook最后修订时间: 2022-06-21 09:21:04

results matching ""

    No results matching ""