| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // pch.h: 这是预编译标头文件。
- // 下方列出的文件仅编译一次,提高了将来生成的生成性能。
- // 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
- // 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
- // 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
- #ifndef PCH_H
- #define PCH_H
- // 添加要在此处预编译的标头
- #include <string>
- #include <vector>
- bool pushAgentList(int agentId, std::string agentList);
- bool getAgentList(int agentId, std::string& agentList);
- bool pushRedis(std::vector<std::string> & val);
- bool pushRedis(std::string & val);
- bool pushCallIndex(std::string callIndex);
- bool getCallIndex(int index, std::string& callIndex);
- bool pushSubmitData(int nEventType, std::string state);
- bool getSubmitData(int nEventType, std::string& state);
- // 驻马店专用
- bool pushZmdExtenStateList(std::string& extList);
- bool getZmdExtenStateList(std::string& extList);
- // 重启
- // 保存在线坐席详情,坐席号,分机号,组号,
- bool pushOnlineAgentGroupDetail(std::string& groupNo, std::string &agentList);
- // 获取
- bool getOnlineAgentGroupDetail(std::vector<std::string>&agentList);
- // 删除
- bool delOnlineAgentGroupDetail(int agentID, int extenNo);
- // 清空 httpserver重启调用,httpserver重启会和前端链接完全断开,此时不能恢复签入状态
- bool clearOnlineAgentGroupDetail();
- // 保存acd与cti的链接状态
- bool pushCtiState(bool isRun);
- bool getCtiState();
- #endif //PCH_H
|