chenshijun
2019-04-15 ad8ee0872802ba5d0194458bf215a6cc89f4d0d0
QiaoJiaSystem/DataManagerServer/http_configserver.h
@@ -78,16 +78,56 @@
    std::string netconfig_show(std::string ip, unsigned int port, std::string content, PResponse &response);
    /***
     * 创建集群节点
     * @param ip
     * @param port
     * @param content
     * @param response
     * @return
     */
    std::string addNode(std::string ip, unsigned int port, std::string content, PResponse &response);
    /***
     * 查询在线节点
     * @param ip
     * @param port
     * @param content
     * @param response
     * @return
     */
    std::string searchNode(std::string ip, unsigned int port, std::string content, PResponse &response);
    std::string modifyCluName(std::string ip, unsigned int port, std::string content, PResponse &response);
    /***
     * 退出集群
     * @param ip
     * @param port
     * @param content
     * @param response
     * @return
     */
    std::string removeNode(std::string ip, unsigned int port, std::string content, PResponse &response);
    /**
     *创建数据底库
     * @param ip
     * @param port
     * @param content
     * @param response
     * @return
     */
    std::string createDatabase(std::string ip, unsigned int port, std::string content, PResponse &response);
    /**
     *
     * @param ip
     * @param port
     * @param content
     * @param response
     * @return
     */
    std::string deleteDatabase(std::string ip, unsigned int port, std::string content, PResponse &response);
    std::string updateDatabase(std::string ip, unsigned int port, std::string content, PResponse &response);