Coder Social home page Coder Social logo

企业微信推送问题 about heytaptask HOT 4 OPEN

hwkxk avatar hwkxk commented on August 18, 2024
企业微信推送问题

from heytaptask.

Comments (4)

YYplus avatar YYplus commented on August 18, 2024

还报这个错误,一直找不到原因
image

from heytaptask.

hwkxk avatar hwkxk commented on August 18, 2024
  1. 微信指定接受人应该是可以的,notify.py微信企业里面的 touser": "@all" @all就是全员发送 可以改成 成员ID列表(消息接收者,多个接收者用‘|’分隔,最多支持1000个,具体可以看这个官方的API文档:https://work.weixin.qq.com/api/doc/90000/90135/90239

  2. 要么是账号问题,无法获取到任务列表(重新登录抓取一下Cookie),或者是云函数部署到非大陆区域了,导致获取任务列表异常(请部署到广州、上海、北京、成都这几个区域内),再出错 你可以在 res = taskCenter() 的下方插入 一行 print (res) 看看打印出的任务列表数据是否正常

from heytaptask.

GNAFUIL avatar GNAFUIL commented on August 18, 2024
  1. 微信指定接受人应该是可以的,notify.py微信企业里面的 touser": "@all" @all就是全员发送 可以改成 成员ID列表(消息接收者,多个接收者用‘|’分隔,最多支持1000个,具体可以看这个官方的API文档:https://work.weixin.qq.com/api/doc/90000/90135/90239

  2. 要么是账号问题,无法获取到任务列表(重新登录抓取一下Cookie),或者是云函数部署到非大陆区域了,导致获取任务列表异常(请部署到广州、上海、北京、成都这几个区域内),再出错 你可以在 res = taskCenter() 的下方插入 一行 print (res) 看看打印出的任务列表数据是否正常

现在已恢复,并未对cookie进行更换,自行恢复了,具体原因未知

from heytaptask.

YYplus avatar YYplus commented on August 18, 2024

谢谢大佬指导,企业微信改成功了,示例配置文件里企业微信的id后多了一个空格,但好像没有影响。

报错的问题经过不断的尝试,发现是因为没有手动完成过任务,手动做了一个加购物车的任务后,正常,也就是说必须手动“激活”一下才能正常使用,建议写入readme让后来者少走弯路,这么个小问题排查了2个小时

from heytaptask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.