// +---------------------------------------------------------------------- namespace app\jobs\agent; use app\services\agent\AgentManageServices; use crmeb\basic\BaseJobs; use crmeb\traits\QueueTrait; /** * 重置分销有效期 * Class SystemJob * @package app\jobs */ class SystemJob extends BaseJobs { use QueueTrait; public function resetSpreadTime() { /** @var AgentManageServices $agentManage */ $agentManage = app()->make(AgentManageServices::class); $agentManage->resetSpreadTime(); } }