weworkapi_nodejs's People
Forkers
gzzhanghao lioekas minchangyong sytpb marianmclella guwx hellopao qingyuan0o0 alanxyh linjungz cuiyang16 veecoweworkapi_nodejs's Issues
wechat.js reply 函数问题,
文件 wechat.js 函数 reply
/*!
- 将回复消息封装成xml格式,其他类型,请按照业务需求重写该函数,或重新构造一个函数来进行业务支持
*/
function reply(fromUsername, toUsername) {
var info = {};
info.msgType = type;
没有这个变量,--type ..
删除这行,就可以成功发送了,在我环境上测试过。 linux centos node 10
老版本消息格式是xml? 现在的消息格式是json
现在的应用消息格式是json
{
"touser" : "UserID1|UserID2|UserID3",
"toparty" : "PartyID1|PartyID2",
"totag" : "TagID1 | TagID2",
"msgtype" : "text",
"agentid" : 1,
"text" : {
。。。。。。。。。。。。。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.