From 839e167969fb142396390b98cf5ce543838a0f24 Mon Sep 17 00:00:00 2001 From: lanzu_qinsheng <334039090@qq.com> Date: Sat, 12 Sep 2020 14:40:30 +0800 Subject: [PATCH] RPC --- app/JsonRpc/BadgeService.php | 26 ++++++++++++++++++++++++++ app/JsonRpc/BadgeServiceInterface.php | 10 ++++++++++ config/autoload/dependencies.php | 1 + 3 files changed, 37 insertions(+) create mode 100644 app/JsonRpc/BadgeService.php create mode 100644 app/JsonRpc/BadgeServiceInterface.php diff --git a/app/JsonRpc/BadgeService.php b/app/JsonRpc/BadgeService.php new file mode 100644 index 0000000..7a5ad33 --- /dev/null +++ b/app/JsonRpc/BadgeService.php @@ -0,0 +1,26 @@ +badgeService->doByOrder($userId, $storeIds, $globalOrderId, $orderState); + + } +} \ No newline at end of file diff --git a/app/JsonRpc/BadgeServiceInterface.php b/app/JsonRpc/BadgeServiceInterface.php new file mode 100644 index 0000000..a7d85ce --- /dev/null +++ b/app/JsonRpc/BadgeServiceInterface.php @@ -0,0 +1,10 @@ + \App\Service\v3\Implementations\AttachmentService::class, \App\JsonRpc\PrintServiceInterface::class => \App\JsonRpc\FeieService::class, \App\JsonRpc\LocationServiceInterface::class => \App\JsonRpc\LocationService::class, + \App\JsonRpc\BadgeServiceInterface::class => \App\JsonRpc\BadgeService::class, \App\Service\v3\Interfaces\OrderStatisticsServiceInterface::class => \App\Service\v3\Implementations\OrderStatisticsService::class, \App\Service\v3\Interfaces\UserRelationBindServiceInterface::class => \App\Service\v3\Implementations\UserCommunityBindService::class, \App\Service\v3\Interfaces\BadgeServiceInterface::class => \App\Service\v3\Implementations\BadgeService::class,