HomeController.php 698 B

12345678910111213141516171819202122232425262728
  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\Api;
  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. return Response::success('hello mead');
  23. }
  24. }