diff --git a/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml b/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml index 42351f7..aa45f10 100644 --- a/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_CAM.cshtml @@ -83,7 +83,7 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_cam", + url: "http://140.125.20.183:7700/api/Parking_spaces_cam", data: {}, headers: { 'Authorization': token @@ -105,7 +105,7 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_total_table", + url: "http://140.125.20.183:7700/api/Parking_spaces_total_table", data: {}, headers: { 'Authorization': token @@ -127,7 +127,7 @@ console.log(token_check) $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_violation_total_table", + url: "http://140.125.20.183:7700/api/Parking_spaces_violation_total_table", data: {}, headers: { 'Authorization': token @@ -238,7 +238,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://localhost:5174/api/Parking_spaces_cam", + url: "http://140.125.20.183:7700/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", @@ -292,7 +292,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://localhost:5174/api/Parking_spaces_roi_pass", + url: "http://140.125.20.183:7700/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", @@ -350,7 +350,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://localhost:5174/api/Parking_spaces_cam_ptz_pass", + url: "http://140.125.20.183:7700/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", @@ -383,7 +383,7 @@ var stringify_obj = JSON.stringify(obj); $.ajax({ type: "Post", - url: "http://localhost:5174/api/Parking_spaces_cam_ptz_violation", + url: "http://140.125.20.183:7700/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", @@ -431,7 +431,7 @@ console.log(token) $.ajax({ type: "GET", - url: 'http://localhost:5174/Users/token_check', + url: 'http://140.125.20.183:7700/Users/token_check', headers: { 'Authorization': token }, @@ -455,7 +455,7 @@ var token = localStorage.getItem('token_park_space'); $.ajax({ type: "GET", - url: 'http://localhost:5174/Users/token-' + token, + url: 'http://140.125.20.183:7700/Users/token-' + token, headers: { 'Authorization': token }, @@ -471,7 +471,7 @@ var token = localStorage.getItem('token_park_space'); $.ajax({ type: "GET", - url: 'http://localhost:5174/Users/user_id-' + id, + url: 'http://140.125.20.183:7700/Users/user_id-' + id, headers: { 'Authorization': token }, diff --git a/Parking_spaces/Views/Engineering/Engineering_CAM_detail.cshtml b/Parking_spaces/Views/Engineering/Engineering_CAM_detail.cshtml index 4f66ab2..0eed205 100644 --- a/Parking_spaces/Views/Engineering/Engineering_CAM_detail.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_CAM_detail.cshtml @@ -97,7 +97,7 @@ console.log(parking_spaces_name) $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_cam/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_cam/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -123,7 +123,7 @@ if (mode == "pass") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_cam_ptz_pass/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_pass/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -144,7 +144,7 @@ if (mode == "car_num_check") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_cam_ptz_car_num_check/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_car_num_check/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -166,7 +166,7 @@ if (mode == "violation") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_cam_ptz_violation/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_violation/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -193,7 +193,7 @@ if (mode == "pass") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_pass/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass/" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -208,7 +208,7 @@ if (mode == "car_num_check") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_car_num_check/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_car_num_check/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -223,7 +223,7 @@ if (mode == "violation") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -371,7 +371,7 @@ serial_num_choose = serial_num $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_cam_ptz_car_num_check/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_cam_ptz_car_num_check/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -568,7 +568,7 @@ if (mode == "pass") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_pass/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass/" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -590,7 +590,7 @@ if (mode == "car_num_check") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_car_num_check/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_car_num_check/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -614,7 +614,7 @@ console.log('violation') $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -646,7 +646,7 @@ console.log(stringify_obj) $.ajax({ type: "PUT", - url: "http://localhost:5174/api/Parking_spaces_roi_pass/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass/" + parking_spaces_name, data: stringify_obj, contentType: "application/json", @@ -671,7 +671,7 @@ $.ajax({ type: "PUT", - url: "http://localhost:5174/api/Parking_spaces_roi_car_num_check/parking_spaces_name-" + parking_spaces_name + "-serial_num-" + serial_num_choose.toString(), + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_car_num_check/parking_spaces_name-" + parking_spaces_name + "-serial_num-" + serial_num_choose.toString(), data: stringify_obj, contentType: "application/json", @@ -816,7 +816,7 @@ console.log(stringify_obj) $.ajax({ type: "POST", - url: "http://localhost:5174/api/Parking_spaces_roi_car_num_check/", + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_car_num_check/", data: stringify_obj, headers: { 'Authorization': token @@ -835,7 +835,7 @@ if (mode == "violation") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -868,7 +868,7 @@ console.log(stringify_obj) $.ajax({ type: "POST", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/", + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/", data: stringify_obj, headers: { 'Authorization': token @@ -950,7 +950,7 @@ function put_violation_roi_1() { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi/" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -978,7 +978,7 @@ console.log(stringify_obj) $.ajax({ type: "PUT", - url: "http://localhost:5174/api/Parking_spaces_roi/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi/" + parking_spaces_name, data: stringify_obj, headers: { 'Authorization': token @@ -1051,7 +1051,7 @@ if (mode == "violation") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -1084,7 +1084,7 @@ console.log(stringify_obj) $.ajax({ type: "POST", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/", + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/", data: stringify_obj, headers: { 'Authorization': token @@ -1166,7 +1166,7 @@ if (mode == "pass") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_pass/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass/" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -1196,7 +1196,7 @@ console.log(stringify_obj) $.ajax({ type: "PUT", - url: "http://localhost:5174/api/Parking_spaces_roi_pass/" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_pass/" + parking_spaces_name, data: stringify_obj, headers: { 'Authorization': token @@ -1271,7 +1271,7 @@ if (mode == "violation") { $.ajax({ type: "GET", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/parking_spaces_name-" + parking_spaces_name, data: {}, headers: { 'Authorization': token @@ -1304,7 +1304,7 @@ console.log(stringify_obj) $.ajax({ type: "POST", - url: "http://localhost:5174/api/Parking_spaces_roi_violation/", + url: "http://140.125.20.183:7700/api/Parking_spaces_roi_violation/", data: stringify_obj, headers: { 'Authorization': token @@ -1332,7 +1332,7 @@ console.log(token) $.ajax({ type: "GET", - url: 'http://localhost:5174/Users/token_check', + url: 'http://140.125.20.183:7700/Users/token_check', headers: { 'Authorization': token }, @@ -1354,7 +1354,7 @@ var token = localStorage.getItem('token_park_space'); $.ajax({ type: "GET", - url: 'http://localhost:5174/Users/token-' + token, + url: 'http://140.125.20.183:7700/Users/token-' + token, headers: { 'Authorization': token }, @@ -1370,7 +1370,7 @@ var token = localStorage.getItem('token_park_space'); $.ajax({ type: "GET", - url: 'http://localhost:5174/Users/user_id-' + id, + url: 'http://140.125.20.183:7700/Users/user_id-' + id, headers: { 'Authorization': token }, diff --git a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml index e402273..bdcad70 100644 --- a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml @@ -145,9 +145,10 @@