// +---------------------------------------------------------------------- namespace crmeb\listens; use app\common\repositories\system\DataScreenRepository; use crmeb\interfaces\ListenerInterface; use think\facade\Cache; class DataScreenListen implements ListenerInterface { public function handle($data): void { app()->make(DataScreenRepository::class)->clearCache(); } }