部署在云服务器 提供外部api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
tradewind-api/app/Http/Controllers/Api/TestController.php

15 lines
273 B

<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class TestController extends Controller
{
//
public function index(){
$data = ['key' => 'value'];
return response()->json($data);
}
}