12.4 微信企业号配置
最后更新于:2022-04-01 02:08:12
## 微信企业号配置
注:文中所有的参数若系统内未配置请自行添加。
**1.首先在系统参数中将商业授权参数添加后填写填写**
购买商业版之后向小微OA-尹瑾柱索要商业授权码填入数据中
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be009ad.png)
**2.记下来进入企业号进行配置**
详情可参阅官网演示为例,官网www.smeoa.com,点击系统演示,若有问题可在群内交流,qq群137109597。
1. 微信企业号管理员添加应用![2015-08-12/55cab22f5a4f6](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab22f5a4f6.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be214dd.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be3fb74.png)
2. 创建管理员组![2015-08-12/55cab2654fed5](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab2654fed5.png)
![2015-08-12/55cab26e73198](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab26e73198.png)
![2015-08-12/55caf8ad5dac9](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55caf8ad5dac9.png)
3. 管理员组权限分配,注意,**被分配的管理员一定要具有微信企业号通讯录管理权限**,否则无法进行OA与微信通讯录同步![2015-08-12/55caf9063bfcd](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55caf9063bfcd.png)
![2015-08-12/55caf94d364de](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55caf94d364de.png)
**若无相应系统权限则无法进行微信的消息推送**
![2015-08-12/55caf9a8f31db](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55caf9a8f31db.png)
4. 对应填写CORP_ID与SECRET的填写与OA内参数的数据 !
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be5bd05.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be734d1.png)
5. 在OA系统参数中填写微信可信域名,域名为自己服务器指向域名,可为二级域名
填写示例:http://xiaowei.smeoa.com/
然后在微信企业号中设置可信域名,可信域名为在OA中填写的微信可信域名。
填写示例:xiaowei.smeoa.com
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be8adde.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14be9fa4f.png)
在管理中系统参数的其他中添加参数OA_AGENT_ID,若已有此参数可直接进行内容的修改,
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bec2185.png)
6. 启用回调模式及回调模式参数填写![2015-08-12/55cab2e713e58](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab2e713e58.png)
![2015-08-12/55cab2ee97975](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab2ee97975.png)
![2015-08-12/55cab2f41b21a](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab2f41b21a.png)
![2015-08-12/55cab30b2fb12](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2015-08-12_55cab30b2fb12.png)URL填写规范:http://公司OA域名/index.php?m=weixin&c=Oa&a=index
例:http://xiaowei.smeoa.com/index.php?m=weixin&c=Oa&a=index
Token与ENCODING_AES_KEY可随机获得或者自己输入
当获得了这两个参数的同时,在OA系统中也需要输入相同参数
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bed575b.png)
当oa系统的参数保存好后,在微信企业号中保存信息。
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bee9797.png)
此为回调成功的样子。
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bf09947.png)
8. 以上完成后,打开温馨系统参数,在系统参数中
应用如以下设置:
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bf33139.png)
在列表选择你需要发布的应用
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bf45c67.png)
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bf5970d.png)
点击发布,
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/2016-01-04_568a14bf6e607.png)
在列表中选择你要发布到的微信应用菜单,点击发布即可发布出去
**最后,在oa系统参数中将推送配置填写**
### 请查看12.5 微信企业号推送设置。