123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?php
- namespace App\Providers;
- use Illuminate\Support\ServiceProvider;
- class RepositoryServiceProvider extends ServiceProvider
- {
- /**
- * Register services.
- *
- * @return void
- */
- public function register()
- {
- $this->app->singleton('ApiSignFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ApiSignFacadeRepository();
- });
- $this->app->singleton('SysConfigFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\SysConfigFacadeRepository();
- });
- $this->app->singleton('WxUserFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\WxUserFacadeRepository();
- });
- $this->app->singleton('WxServiceFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\WxServiceFacadeRepository();
- });
- $this->app->singleton('WxNotificationFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\WxNotificationFacadeRepository();
- });
- $this->app->singleton('WxDecryptFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\WxDecryptFacadeRepository();
- });
- $this->app->singleton('WxServiceKfFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\WxServiceKfFacadeRepository();
- });
- $this->app->singleton('UploadFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\UploadFacadeRepository();
- });
- $this->app->singleton('ThirdWxFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ThirdWxFacadeRepository();
- });
- $this->app->singleton('UserFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\UserFacadeRepository();
- });
- $this->app->singleton('SpecialistCloumnFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\SpecialistCloumnFacadeRepository();
- });
- $this->app->singleton('SpecialistInfoFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\SpecialistInfoFacadeRepository();
- });
- $this->app->singleton('BannerFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\BannerFacadeRepository();
- });
- $this->app->singleton('MentalityDrillCategoryFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\MentalityDrillCategoryFacadeRepository();
- });
- $this->app->singleton('MentalityDrillFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\MentalityDrillFacadeRepository();
- });
- $this->app->singleton('ScaleCategoryFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ScaleCategoryFacadeRepository();
- });
- $this->app->singleton('ScaleFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ScaleFacadeRepository();
- });
- $this->app->singleton('DiaryMoodLevelFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DiaryMoodLevelFacadeRepository();
- });
- $this->app->singleton('DiaryMoodTagFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DiaryMoodTagFacadeRepository();
- });
- $this->app->singleton('DiaryMoodFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DiaryMoodFacadeRepository();
- });
- $this->app->singleton('DiarySleepLevelFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DiarySleepLevelFacadeRepository();
- });
- $this->app->singleton('DiarySleepFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DiarySleepFacadeRepository();
- });
- $this->app->singleton('DiaryLetterFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DiaryLetterFacadeRepository();
- });
- $this->app->singleton('StatisticsFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\StatisticsFacadeRepository();
- });
- $this->app->singleton('CollectFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\CollectFacadeRepository();
- });
- $this->app->singleton('BrowseRecordFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\BrowseRecordFacadeRepository();
- });
- $this->app->singleton('ThirdScaleFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ThirdScaleFacadeRepository();
- });
- $this->app->singleton('ThirdUpFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ThirdUpFacadeRepository();
- });
- $this->app->singleton('ThirdH5ChatFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ThirdH5ChatFacadeRepository();
- });
- $this->app->singleton('VersionFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\VersionFacadeRepository();
- });
- $this->app->singleton('PatientCardFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\PatientCardFacadeRepository();
- });
- $this->app->singleton('ThirdConsultFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\ThirdConsultFacadeRepository();
- });
- $this->app->singleton('AiChatContentFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\AiChatContentFacadeRepository();
- });
- $this->app->singleton('RemoteSsoFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\RemoteSsoFacadeRepository();
- });
- $this->app->singleton('DashboardFacadeRepository', function ($app) {
- return new \App\Repositories\Eloquent\DashboardFacadeRepository();
- });
- $this->app->singleton('AliSmsFacadeRepository', function ($app) {
- return \App\Repositories\Eloquent\AliSmsFacadeRepository::client();
- });
- }
- /**
- * Bootstrap services.
- *
- * @return void
- */
- public function boot()
- {
- //
- }
- }
|