Skip to content

Commit d413564

Browse files
committed
修复名称错误
1 parent a67659b commit d413564

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/EasyWeChat.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@ class EasyWeChat extends Facade
88
{
99
public static function getFacadeAccessor(): string
1010
{
11-
return 'wechat.official_account';
11+
return 'easywechat.official_account';
1212
}
1313

1414
public static function officialAccount(string $name = 'default'): \EasyWeChat\OfficialAccount\Application
1515
{
16-
return app('wechat.official_account.'.$name);
16+
return app('easywechat.official_account.'.$name);
1717
}
1818

1919
public static function work(string $name = 'default'): \EasyWeChat\Work\Application
2020
{
21-
return app('wechat.work.'.$name);
21+
return app('easywechat.work.'.$name);
2222
}
2323

2424

2525
public static function payment(string $name = 'default'): \EasyWeChat\Pay\Application
2626
{
27-
return app('wechat.payment.'.$name);
27+
return app('easywechat.payment.'.$name);
2828
}
2929

3030
public static function miniApp(string $name = 'default'): \EasyWeChat\MiniApp\Application
3131
{
32-
return app('wechat.mini_program.'.$name);
32+
return app('easywechat.mini_program.'.$name);
3333
}
3434

3535
public static function openPlatform(string $name = 'default'): \EasyWeChat\OpenPlatform\Application
3636
{
37-
return app('wechat.open_platform.'.$name);
37+
return app('easywechat.open_platform.'.$name);
3838
}
3939
}

0 commit comments

Comments
 (0)