ExampleController.php 502 B

1234567891011121314151617181920212223
  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 Jiannei\Response\Laravel\Support\Facades\Response;
  13. class ExampleController extends Controller
  14. {
  15. public function test()
  16. {
  17. return Response::success(['status' => 'ok']);
  18. }
  19. }