Skip to main content

Popclip扩展-文本发送至企业微信我使用的代码采用硬编码的形式,你只需要选中所有,popclip会自动识别,点击安装启用即可需要注意的是代码中11行webhookUrl地址改为自己的企业微信bot webhook地址,完成后再安装// #popclip extension for sending selected text to Enterprise WeChat webhook// name: Send to WeChat// icon: iconify:mdi:wechat// language: javascript// module: true// entitlements: [network]async function sendToEnterpriseWeChat(input) {const axios = require("axios");const webhookUrl = "

  1. Popclip扩展-文本发送至企业微信
    我使用的代码采用硬编码的形式,你只需要选中所有,popclip会自动识别,点击安装启用即可
    需要注意的是代码中11行webhookUrl地址改为自己的企业微信bot webhook地址,完成后再安装

    // #popclip extension for sending selected text to Enterprise WeChat webhook
    // name: Send to WeChat
    // icon: iconify:mdi:wechat
    // language: javascript
    // module: true
    // entitlements: [network]

    async function sendToEnterpriseWeChat(input) {
    const axios = require("axios");

    const webhookUrl = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY";

    try {
    await axios.post(webhookUrl, {
    msgtype: "text",
    text: {
    content: input.text,…
    📡发布:https://noisevip.cn/16931.html
    📢关注频道:@quanshoulu
    💬留言讨论:@Efficiencyfollow
    📬投稿bot:@noisewowbot
    📇搜索bot:@Efficiencysearchbot
    🎁访问主页: www.noisework.cn