local objMq=CTNLuaRabbitMQ();

    --1 objMq:setServer() --连接mq 
    sMQServer =getConfigure('mq_server','mq');
    iMQPort =getConfigure('mq_port','mq');
    sMQUser =getConfigure('mq_user','mq');
    sMQPass =getConfigure('mq_pass','mq');
    objMq:setServer(sMQServer,iMQPort,sMQUser,sMQPass);

    --2 objMq:setLuaID() 与脚本关联
    objMq:setLuaID(luaid());
Copyright © TouchNet 2015 all right reserved,powered by Gitbook最后修订时间: 2022-06-21 09:21:04

results matching ""

    No results matching ""