From f9b0fce54f0b50e2f11bbdce6a8e411906730e41 Mon Sep 17 00:00:00 2001 From: weigang Date: Mon, 17 Aug 2020 12:06:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/NotifyController.php | 4 ++-- config/autoload/dependencies.php | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Controller/NotifyController.php b/app/Controller/NotifyController.php index a94b07f..1d2c1be 100644 --- a/app/Controller/NotifyController.php +++ b/app/Controller/NotifyController.php @@ -15,7 +15,7 @@ use App\Model\SystemConfig; use App\Model\Users; use App\Service\DeviceServiceInterface; use App\Service\FeiePrintServiceInterface; -use App\Service\MiniprogramService; +use App\Service\MiniprogramServiceInterface; use App\Service\MqttServiceInterface; use App\Service\UserServiceInterface; use EasyWeChat\Factory; @@ -43,7 +43,7 @@ class NotifyController extends BaseController /** * @Inject - * @var MiniprogramService + * @var MiniprogramServiceInterface */ protected $miniprogramService; diff --git a/config/autoload/dependencies.php b/config/autoload/dependencies.php index 1557ca3..7c683c7 100644 --- a/config/autoload/dependencies.php +++ b/config/autoload/dependencies.php @@ -21,4 +21,6 @@ return [ \App\Service\CouponServiceInterface::class => \App\Service\CouponService::class, \App\Service\MqttServiceInterface::class => \App\Service\MqttSpeakerService::class, \App\Service\FeiePrintServiceInterface::class => \App\Service\FeiePrintService::class, + \App\Service\MiniprogramServiceInterface::class => \App\Service\MiniprogramService::class, + \App\Service\UserServiceInterface::class => \App\Service\UserService::class, ];