Skip to main content

配置私有化企业微信地址

当需要将审批流消息推送到企业微信时,由于私有化企业微信的地址需要配置,我们开放了地址配置

说明

前提条件:获取私有化企业微信地址

  1. 单机版

    1.1 在/data/tencent/weda下找到config.yaml文件,添加如下配置

    weixin:
    tokenWxUrl: https://<私有化企业微信地址>/cgi-bin/gettoken?corpid={0}&corpsecret={1}

    1.2 获取最新版服务

    wget -L -O install.sh https://software-1302110647.cos.ap-guangzhou.myqcloud.com/rc/lastest/install.sh && chmod +x install.sh

    1.3 重装服务

    ./upgrade.sh
  2. 集群版

    2.1 获取最新安装工具或安装包,这里以在线安装为例:

    在线安装地址

    2.2 在安装目录下找到配置文件config.yaml, 添加如下配置

    weda字段下配置:
    weixin:
    tokenWxUrl: https://<私有化企业微信地址>/cgi-bin/gettoken?corpid={0}&corpsecret={1}

    2.3 重装服务

    ./wedaCli install