diff --git a/app/JsonRpc/AlismsService.php b/app/JsonRpc/AlismsService.php new file mode 100644 index 0000000..da05844 --- /dev/null +++ b/app/JsonRpc/AlismsService.php @@ -0,0 +1,36 @@ +smsAliService->send($phone, $template, $templateParams, $signName = '懒族生活'); + } +} \ No newline at end of file diff --git a/app/JsonRpc/SmsServiceInterface.php b/app/JsonRpc/SmsServiceInterface.php new file mode 100644 index 0000000..977d46a --- /dev/null +++ b/app/JsonRpc/SmsServiceInterface.php @@ -0,0 +1,10 @@ + \App\Service\SmsAliService::class, \App\Service\OrderListServiceInterface::class => \App\Service\OrderListService::class, \App\Service\StoreServiceInterface::class => \App\Service\StoreService::class, + \App\JsonRpc\SmsServiceInterface::class => \App\JsonRpc\AlismsService::class, ];