commit test docker
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class HelloWorldController extends Controller
|
||||
{
|
||||
|
||||
public function __construct() {
|
||||
}
|
||||
|
||||
public function getHelloWorld() {
|
||||
$words = DB::table('hello')->where('id', 1)->get();
|
||||
return json_encode($words);
|
||||
//return "ok";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user