diff --git a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml index 4ffabff..64911d1 100644 --- a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml +++ b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml @@ -91,6 +91,9 @@ type: "GET", url: "http://140.125.20.183:7700/api/Yuntech_in_car_table", data: {}, + headers: { + 'Authorization': token + }, contentType: "application/json", success: function (Model) { //console.log(Model) @@ -174,7 +177,9 @@ type: "GET", url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/location_name-" + location_name + "-time-" + time, data: {}, - contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) table = ""; @@ -202,6 +207,9 @@ type: "GET", url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/license_plate_number-" + license_plate_number, data: {}, + headers: { + 'Authorization': token + }, contentType: "application/json", success: function (Model) { console.log(Model) @@ -225,6 +233,9 @@ type: "GET", url: "http://140.125.20.183:7700/api/Yuntech_in_car_table/location_name_1_-" + name + "-start_time-" + start_date + "-end_time-" + end_date, data: {}, + headers: { + 'Authorization': token + }, contentType: "application/json", success: function (Model) { console.log(Model)