provider.php 242 B

12345678910111213
  1. <?php
  2. use app\ExceptionHandle;
  3. use app\Request;
  4. // 容器Provider定义文件
  5. return [
  6. 'think\Request' => Request::class,
  7. 'think\exception\Handle' => ExceptionHandle::class,
  8. 'json' => \ln\services\ApiResponseService::class
  9. ];