diff --git a/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml b/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml index 7dc9c1d..42351f7 100644 --- a/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml @@ -83,12 +83,15 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam", + url: "http://localhost:5174/api/Parking_spaces_cam", data: {}, headers: { 'Authorization': token }, contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) set_data(Model) @@ -102,12 +105,15 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Parking_spaces_total_table", + url: "http://localhost:5174/api/Parking_spaces_total_table", data: {}, headers: { 'Authorization': token }, contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) set_data_2(Model) @@ -121,12 +127,15 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://140.125.20.183:7700/api/Parking_spaces_violation_total_table", + url: "http://localhost:5174/api/Parking_spaces_violation_total_table", data: {}, headers: { 'Authorization': token }, contentType: "application/json", + headers: { + 'Authorization': token + }, success: function (Model) { console.log(Model) set_data_3(Model) @@ -229,7 +238,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam", + url: "http://localhost:5174/api/Parking_spaces_cam", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -283,7 +292,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass", + url: "http://localhost:5174/api/Parking_spaces_roi_pass", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -341,7 +350,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_pass", + url: "http://localhost:5174/api/Parking_spaces_cam_ptz_pass", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -374,7 +383,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_violation", + url: "http://localhost:5174/api/Parking_spaces_cam_ptz_violation", //data: {test_id: test_id, test_date: test_date, test_time: test_time, test_analyst: test_analyst, img: img, data_creat_time: "2022-10-04T18:47:40.887014" }, data: stringify_obj, contentType: "application/json", @@ -415,13 +424,14 @@