mirror of
https://github.com/w7corp/easywechat.git
synced 2025-02-02 02:34:22 +00:00
Updated 多帐号接入 (markdown)
parent
7f64ce0cbb
commit
a6f57d15fd
5
多帐号接入.md
5
多帐号接入.md
@ -9,9 +9,12 @@
|
||||
|
||||
在微信公众平台的设置中,您可以将您帐号中平台的 `url` 设置为 `您的网址/?id=xxx`,如:
|
||||
|
||||
|
||||
```
|
||||
http://www.example.com/wechat/{id}
|
||||
//example:
|
||||
http://www.example.com/wechat/1
|
||||
http://www.example.com/wechat/2
|
||||
```
|
||||
|
||||
而在程序入口处,根据 `id` 查找对应帐号的 `appid` 和 其它信息, 传入 'Overtrue\Wechat\Server',完成初始化。
|
||||
在程序入口处,根据 `id` 查找对应帐号的 `appid` 和 其它信息, 传入 'Overtrue\Wechat\Server',完成初始化。
|
Loading…
Reference in New Issue
Block a user