Enterprise Development Foundation micro-channel configuration

Enterprise micro-channel, and nail this thing basically no difference, the flagship enterprise mobility, weakening the social, strengthen enterprise services

Distribution started essentially the same ratio nails later, the pattern of self-built applications and third-party applications

Third-party application developers will not say, here to talk about the development of self-built configuration application it:

1. Register Log letter micro enterprises, create a company (there will be a need to write down the company id, id later this fall to use micro-channel interfaces):

 

2. Create a self-built application, fill in the relevant information (name, icon, visible user groups) as follows:

3. After you create good applications come in, there are two parameters (micro-channel interface, docking and later want to use) and two very important settings:

 At this point id wait until the three are as follows:

 

  • CorpID (company id) ---------- from the first step
  • AgentId (application id) -------- get the second step
  • Secret (secret key id) ---------- get the second step 

 

 Of course, micro enterprises believe there is also some other professional name, in business and micro-channel interaction is possible will be used, the official website address: https://work.weixin.qq.com/api/doc#90000/90135/90665/corpid

4. Now let's talk about how this with a trusted domain,

In fact, this is the domain address of your project ( trusted with the ip domain name can you? Certainly not, this is a regular extranet application, not a cat or dog quiz, it really regular point, you can http, https there is not better Mody )

Very simple as he says these two do it, put the file in the domain root directory (which in the end is a simple file name test, or a subsequent application will monitor, on the Ha ha ...)

The table now is that the application home with how (the name is too technical, in fact, you build this application, when the user clicks on the home page address):

  不好意思你千万不要配成xxxx/index.html或者其他的什么,微信有规则的,怎么配根据实际情况来,要想彻底弄懂怎么配,你得先知道,企业微信开发的最最最最基础的第一步(获取当前登录的用户到底是谁及用户基础信息,很多情况下,你的用户你不可能是一个一个手动添加进去的吧,那是刀耕火种时代,你肯定是导入的,所以不管你做什么,最基础的就是获取用户信息),你根据下面第六步的说明,结合自己的项目,你就可以把这个应用主页配好了

6.获取用户及用户信息

不想啰嗦一些废话,就下面一张表

 

Guess you like

Origin www.cnblogs.com/yogic/p/11166148.html