SettingService.php 518 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace addons\Printer\common\services;
  3. use common\services\mall\BaseAdsSettingService;
  4. /**
  5. * Class SettingService
  6. * @package addons\Printer\common\services
  7. */
  8. class SettingService extends BaseAdsSettingService
  9. {
  10. /**
  11. * @return array
  12. */
  13. public function defaultSetting() :array
  14. {
  15. return [
  16. 'pickup_code_name' => '自提码',
  17. ];
  18. }
  19. /**
  20. * @return string
  21. */
  22. public function getAddosName() :string
  23. {
  24. return 'Printer';
  25. }
  26. }