Skip to content

Commit f9d2626

Browse files
authored
Update README.md
1 parent 5d9efc0 commit f9d2626

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ class WeChatController extends Controller
117117
##### 使用外观
118118

119119
```php
120-
$officialAccount = EasyWeChat::officialAccount(); // 公众号
121-
$work = EasyWeChat::work(); // 企业微信
122-
$payment = EasyWeChat::payment(); // 微信支付
123-
$openPlatform = EasyWeChat::openPlatform(); // 开放平台
124-
$miniProgram = EasyWeChat::miniProgram(); // 小程序
120+
$officialAccount = \EasyWeChat::officialAccount(); // 公众号
121+
$work = \EasyWeChat::work(); // 企业微信
122+
$payment = \EasyWeChat::payment(); // 微信支付
123+
$openPlatform = \EasyWeChat::openPlatform(); // 开放平台
124+
$miniProgram = \EasyWeChat::miniProgram(); // 小程序
125125

126126
// 均支持传入配置账号名称
127-
EasyWeChat::officialAccount('foo'); // `foo` 为配置文件中的名称,默认为 `default`
127+
\EasyWeChat::officialAccount('foo'); // `foo` 为配置文件中的名称,默认为 `default`
128128
//...
129129
```
130130

0 commit comments

Comments
 (0)