change api
This commit is contained in:
@@ -101,12 +101,12 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function(){
|
||||
var api_url = "<?php echo $api_url ?>";
|
||||
$(document).ready(function(){
|
||||
function getData(){
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: 'http://api.localhost:8000/api/requestTeller/get/ALS/SAMSIANA',
|
||||
url: api_url + '/api/requestTeller/get/ALS/SAMSIANA',
|
||||
success: function(data){
|
||||
gettable(data);
|
||||
}
|
||||
|
||||
@@ -101,12 +101,12 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function(){
|
||||
var api_url = "<?php echo $api_url ?>";
|
||||
$(document).ready(function(){
|
||||
function getData(){
|
||||
$.ajax({
|
||||
type: 'get',
|
||||
url: 'http://api.localhost:8000/api/requestTeller/get/ALS/SAMSIANA',
|
||||
url: api_url + '/api/requestTeller/get/ALS/SAMSIANA',
|
||||
success: function(data){
|
||||
gettable(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user