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 = "