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.

33 lines
606 B

  1. <?php
  2. namespace App\Service\v3\Implementations;
  3. use App\Model\v3\Store;
  4. use App\Service\v3\Interfaces\StoreServiceInterface;
  5. class StoreService implements StoreServiceInterface
  6. {
  7. public function do()
  8. {
  9. // TODO: Implement do() method.
  10. }
  11. public function check()
  12. {
  13. // TODO: Implement check() method.
  14. }
  15. public function undo()
  16. {
  17. // TODO: Implement undo() method.
  18. }
  19. public function detail($storeId)
  20. {
  21. return Store::query()
  22. ->with('market')
  23. ->where('id',$storeId)
  24. ->first()->toArray();
  25. }
  26. }