CaoMeiYouRen / push-all-in-cloud

基于 push-all-in-one 和 hono 开发的云函数推送服务。支持 nodejs/docker/vercel 等多种部署方式
https://push.cmyr.dev
GNU Affero General Public License v3.0
7 stars 1 forks source link

已经docker部署,请问下企微WechatApp如何发消息给指定用户? #1

Closed Yafeiml closed 3 months ago

Yafeiml commented 3 months ago

{ "title": "你好", "desp": "YingHui\n13663013063", "config": { "WX_APP_USERID": ",YingHui" } } json换了很多写法都不好使。

CaoMeiYouRen commented 3 months ago
{
    "title": "你好",
    "desp": "YingHui\n13663013063",
    "type": "WechatApp",
    "config": {
        "WX_APP_USERID": ",YingHui",
        "WX_APP_CORPID": "",
        "WX_APP_AGENTID": "",
        "WX_APP_SECRET": ""
    }
}
Yafeiml commented 3 months ago

噢,感谢回复,实际上我这样测试过了,所有的用户都可以收到信息。

CaoMeiYouRen commented 3 months ago

噢,感谢回复,实际上我这样测试过了,所有的用户都可以收到信息。

企业微信应用推送,文档:https://work.weixin.qq.com/api/doc/90000/90135/90664 /**

Yafeiml commented 3 months ago

改为forward方法可以了,看来push不能再次接收参数了