From 4443ab9f0708f4fb266f7be41ab5983054f4e07f Mon Sep 17 00:00:00 2001 From: overtrue Date: Wed, 2 Mar 2022 17:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20openwork,=20payment->pay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/EasyWeChat.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/EasyWeChat.php b/src/EasyWeChat.php index 5b5b1dd..556ba7b 100755 --- a/src/EasyWeChat.php +++ b/src/EasyWeChat.php @@ -21,8 +21,12 @@ public static function work(string $name = 'default'): \EasyWeChat\Work\Applicat return app('easywechat.work.'.$name); } + public static function openWork(string $name = 'default'): \EasyWeChat\OpenWork\Application + { + return app('easywechat.open_work.'.$name); + } - public static function payment(string $name = 'default'): \EasyWeChat\Pay\Application + public static function pay(string $name = 'default'): \EasyWeChat\Pay\Application { return app('easywechat.payment.'.$name); }