ConfigService.php 609 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace addons\TinyShop\services;
  3. use Yii;
  4. use common\components\BaseAddonConfigService;
  5. use addons\TinyShop\common\forms\SettingForm;
  6. /**
  7. * Class ConfigService
  8. *
  9. * @package addons\TinyShop\services
  10. */
  11. class ConfigService extends BaseAddonConfigService
  12. {
  13. /**
  14. * @var string
  15. */
  16. public $addonName = "TinyShop";
  17. /**
  18. * @var SettingForm
  19. */
  20. public $settingForm = SettingForm::class;
  21. /**
  22. * @param int $merchant_id
  23. * @return SettingForm
  24. */
  25. public function setting($merchant_id = 0)
  26. {
  27. return parent::setting($merchant_id);
  28. }
  29. }
粤ICP备19079148号