HomeController.php 729 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace App\Http\Controllers\Admin;
  11. use App\Http\Controllers\Controller;
  12. use App\Repositories\Models\Course\Video;
  13. use App\Repositories\Models\Inform\Category;
  14. use App\Repositories\Models\Inform\Information;
  15. use App\Repositories\Models\UserVideoWatchRecord;
  16. use Carbon\Carbon;
  17. use Jiannei\Response\Laravel\Support\Facades\Response;
  18. class HomeController extends Controller
  19. {
  20. public function index()
  21. {
  22. $notices = [];
  23. return Response::success(compact('notices'));
  24. }
  25. }