This commit is contained in:
LAPTOP-DGCU80CH\user1
2020-11-08 15:59:21 +08:00
parent ba7e18eee1
commit 4f463412b0
11 changed files with 325 additions and 45 deletions
@@ -0,0 +1,15 @@
<?php
namespace App\Http\Controllers;
use App\MaxPinjaman;
use Illuminate\Http\Request;
class MaxPinjamanController extends Controller
{
public function getAllMaxPinjaman(){
$pinjaman = MaxPinjaman::on('mysql7')->get();
return response()->json($pinjaman);
}
}