DeviceService.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace App\Service\Device;
  3. class DeviceService extends Service
  4. {
  5. public function deviceList(){
  6. $list = [
  7. [
  8. 'id' => '1',
  9. 'title' => '木工',
  10. 'url' => '/cms/mg',
  11. 'device' => [
  12. 'is_scan' => 1,
  13. 'is_box' => 1,
  14. ],
  15. ],[
  16. 'id' => '2',
  17. 'title' => '油漆',
  18. 'url' => '/cms/yq',
  19. 'device' => [
  20. 'is_scan' => 1,
  21. 'is_box' => 0,
  22. ],
  23. ],[
  24. 'id' => '3',
  25. 'title' => '包装',
  26. 'url' => '/cms/bz',
  27. 'device' => [
  28. 'is_scan' => 1,
  29. 'is_box' => 1,
  30. ],
  31. ],[
  32. 'id' => '4',
  33. 'title' => '退出',
  34. 'url' => '/cms/login_out',
  35. 'device' => [
  36. 'is_scan' => 1,
  37. 'is_box' => 1,
  38. ],
  39. ],
  40. ];
  41. return [200,$list];
  42. }
  43. }