commit la
This commit is contained in:
@@ -54,4 +54,10 @@ class TransactionController extends Controller
|
||||
|
||||
return response()->json($transaction);
|
||||
}
|
||||
|
||||
public function getTransactionByid($id){
|
||||
$transaction = Transaction::on('mysql7')->where('id','=',$id)->get();
|
||||
|
||||
return response()->json($transaction);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user