| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace addons\ShortVideo\common\events;
- use common\components\BaseEvent;
- use common\enums\EventNameEnum;
- //获取插件视频任务配置
- class VideoTaskConfig extends BaseEvent
- {
- public $name = EventNameEnum::VIDEO_TASK_CONFIG;
- public $video_config;
- public function __construct($mall_id, $video_config)
- {
- parent::__construct($mall_id);
- $this->video_config = $video_config;
- }
- public function getVideoConfig()
- {
- return $this->video_config;
- }
- public function setVideoConfig($video_config)
- {
- $this->video_config = $video_config;
- }
- public function getResultForm()
- {
- return $this->video_config;
- }
- }
|