app->singleton(DingDingRobot::class, function () { return new DingDingRobot(env('DINGDING_ACCESS_TOKEN'), env('DINGDING_SECRET')); }); } }