Home >Backend Development >PHP Tutorial >PHP uses WeChat to perform OA-like functions

PHP uses WeChat to perform OA-like functions

WBOY
WBOYOriginal
2016-08-04 09:21:391103browse

There is a page in php for sending messages. Click send, and my official account will send messages to the people who have designated to follow the changed official account. For example, the boss sends a notice to the employees, and the employees open WeChat and receive it. How to design this kind of database so that the boss can know that it has been read

Reply content:

There is a page in php for sending messages. Click send, and my official account will send messages to the people who have designated to follow the changed official account. For example, the boss sends a notice to the employees, and the employees open WeChat and receive it. How to design this kind of database so that the boss can know that it has been read

The process is that when the user opens WeChat and enters the link to be read, the server finds the user information through the user's openid and sends the template information to the boss's openid (http://mp.weixin.qq.com/wiki/5 /6dde9eaa909f83354e0094dc3ad99e05.html ). If you want to record specific operations, you can define a status field in the notification table (0 None 1 Read 2 Pushed) to follow up the status of the notification

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn