You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
665 B

5 years ago
  1. <?php
  2. namespace App\JsonRpc;
  3. use Hyperf\RpcServer\Annotation\RpcService;
  4. use Hyperf\Di\Annotation\Inject;
  5. /**
  6. * @RpcService(name="BadgeService", protocol="jsonrpc-http", server="jsonrpc-http", publishTo="")
  7. * Class BadgeService
  8. * @package App\JsonRpc
  9. */
  10. class BadgeService implements BadgeServiceInterface
  11. {
  12. /**
  13. * @Inject
  14. * @var \App\Service\v3\Interfaces\BadgeServiceInterface
  15. */
  16. protected $badgeService;
  17. public function doByOrder($userId, $storeIds, $globalOrderId, $orderState)
  18. {
  19. // TODO: Implement doByOrder() method.
  20. $this->badgeService->doByOrder($userId, $storeIds, $globalOrderId, $orderState);
  21. }
  22. }