Home > Software engineering >  Vb docking with WeChat enterprises do not have friends?
Vb docking with WeChat enterprises do not have friends?

Time:09-26

http://qydev.weixin.qq.com/wiki/index.php? Title=the initiative called
Now a lot of enterprise registration WeChat enterprise, enterprise external interface. But like many cases are online Java, PHP, or c # code. Now I have a demand. Is the salary data. The database by WeChat enterprise phone sent to the respective personnel.
Tencent also has a butt joint is introduced: http://qydev.weixin.qq.com/wiki/index.php? Title=page
The send method is: http://qydev.weixin.qq.com/wiki/index.php? Title=send messages
======================
Send the message
Enterprises can take the initiative to send a message to the staff, the message is restricted,
Call interface, use the Https protocol, the JSON data packet format, encryption processing packets do not need to do,
Currently supports text, images, voice, video, files, such as graphic message types, in addition to the type of news, other types of messages can be sent and security options, confidential information will be on watermarking, and only the recipient can read,
==================================
Send the interface description
Request description
Https requests: POST
https://qyapi.weixin.qq.com/cgi-... _token ACCESS_TOKEN=
Parameter description
Parameters must be
Access_token is call interface certificate
Permissions required
Need administrator has access to the application, to the recipient touser toparty, totag view permissions, otherwise the call fails,
Returns the results
If the application or the recipient, the department, any labels without the permission, the failure; If the recipient, the department or label does not exist, send still does, but returned to invalid part,
{
"Errcode" : 0,
"Errmsg" : "ok,"
"Invaliduser" : "UserID1",
"Invalidparty" : "PartyID1,"
"Invalidtag" : "TagID1
"}
=====================================
Docking is
Https requests: POST
https://qyapi.weixin.qq.com/cgi-... _token ACCESS_TOKEN=
========================
VB, we use the WEB controls. Can butt?
Do you have any friends tried??

CodePudding user response:

Vb use HTTPS. How to pass parameters. And obtain parameters.
For example:
Https requests: GET
https://qyapi.weixin.qq.com/cgi-bin/gettoken? Corpid=id& Corpsecret=secrect
How to receive the return value.
Https requests: POST
https://qyapi.weixin.qq.com/cgi-bin/message/send? Access_token=access_token
How to pass parameters:
{
"Touser" : "UserID1 | UserID2 | UserID3",
"Toparty" : "PartyID1 | PartyID2,"
"Totag" : "TagID1 | TagID2,"
"Msgtype", "text",
"Agentid" : "1",
"Text" : {
"Content" : "Holiday Request For Pony (http://xxxxx)"
},
"Safe" : "0"
}
============================
A friend in VB docking WeChat enterprise?

CodePudding user response:

I also want to know, to seek help.

CodePudding user response:

That will have a server

CodePudding user response:

Have technology with docking own server, Daniel, I only know vb, can be paid proper guidance

CodePudding user response:

A while ago get WeChat public and asp docking, as far as I know, WeChat number have to bind a public server, there is a box you can fill in the url, actually is also and WeChat docking site, once the customer hair message or operation what information will be posted to the site in special format, the site that is responsible for handling the request, also is actually gain parameters, xDom. The load request, if you want to use vb to do, so also must be filled in on the site, then the port WeChat restriction must be 80, website domain name must be registered at the same time, and then the vb binding all port 80 to receive requests for processing good,

Then get ToUserName such as

CodePudding user response:

Do not recommend using vb,
Webbrown more impossible
Want to use is also using winsock
And there are many need entity class and XML, json transformation
Do not understand the words, the basic development of nothing.

CodePudding user response:

refer to 6th floor sysdzw response:
a while ago get WeChat public and asp docking, as far as I know, WeChat number have to bind a public server, there is a you can fill in the address box, also is actually and WeChat docking site, once the customer hair message or operation what information will be posted to the site in special format, the site that is responsible for handling the request, also is actually gain parameters, xDom. The load request, if you want to use vb to do, so also must be filled in on the site, then the port WeChat restriction must be 80, website domain name must be registered at the same time, and then the vb binding all port 80 to receive requests for processing well,

Then get ToUserName like


Yes, just got a 50 k,

CodePudding user response:

refer to the eighth floor vansoft response:
Quote: refer to the sixth floor sysdzw response:

A while ago get WeChat public and asp docking, as far as I know, WeChat number have to bind a public server, there is a box you can fill in the url, actually is also and WeChat docking site, once the customer hair message or operation what information will be posted to the site in special format, the site that is responsible for handling the request, also is actually gain parameters, xDom. The load request, if you want to use vb to do, so also must be filled in on the site, then the port WeChat restriction must be 80, website domain name must be registered at the same time, and then the vb binding all port 80 to receive requests for processing good,

Then get ToUserName like


For, just got a, 50 k,
private single take a great ah, 50000

CodePudding user response:

Such as fruit with vb is just send a message that this can be done, if you need to receive WeChat forwarded message, that this is through a web server,
WeChat message has three mass, customer service, and message templates, you should call the template message interface according to your description,

I recently are also studying how to WeChat together with the application, for example by scanning qr code can log in erp application, oa system, the relevant notice of information push and so on

CodePudding user response:

refer to the eighth floor vansoft response:
Quote: refer to the sixth floor sysdzw response:

A while ago get WeChat public and asp docking, as far as I know, WeChat number have to bind a public server, there is a box you can fill in the url, actually is also and WeChat docking site, once the customer hair message or operation what information will be posted to the site in special format, the site that is responsible for handling the request, also is actually gain parameters, xDom. The load request, if you want to use vb to do, so also must be filled in on the site, then the port WeChat restriction must be 80, website domain name must be registered at the same time, and then the vb binding all port 80 to receive requests for processing good,

Then get ToUserName like


Yes, just got a 50 k,


You have this avoid connect well

CodePudding user response:

11 references shiguangxin response:
Quote: refer to the eighth floor vansoft response:

Quote: refer to the sixth floor sysdzw response:

A while ago get WeChat public and asp docking, as far as I know, WeChat number have to bind a public server, there is a box you can fill in the url, actually is also and WeChat docking site, once the customer hair message or operation what information will be posted to the site in special format, the site that is responsible for handling the request, also is actually gain parameters, xDom. The load request, if you want to use vb to do, so also must be filled in on the site, then the port WeChat restriction must be 80, website domain name must be registered at the same time, and then the vb binding all port 80 to receive requests for processing good,

Then get ToUserName like


nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related