xsh преди 3 години
родител
ревизия
9c75f3f54a
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/utils/chenApi.js

+ 4 - 4
src/utils/chenApi.js

@@ -12,7 +12,7 @@ import axios from './http';
 /* 获取门禁所有 */
 export function getFaceGuardTotal(data) {
   return axios({
-    url: 'http://192.168.1.171:9987/person/get_person_record_totalpage',
+    url: '/produce/person/get_person_record_totalpage',
     method: 'post',
     data: data
   })
@@ -21,7 +21,7 @@ export function getFaceGuardTotal(data) {
 /* 车辆管理 - 车辆通行 */
 export function getCarPassage(data) {
   return axios({
-    url: 'http://192.168.1.171:9987/car/get_car_record',
+    url: '/produce/car/get_car_record',
     method: 'get',
     params: data
   })
@@ -30,7 +30,7 @@ export function getCarPassage(data) {
 /* 车辆管理 - 车辆洗消 */
 export function getCarWash(params) {
   return axios({
-    url: 'http://192.168.1.171:9987/accident/accident_record_xixiao',
+    url: '/produce/accident/accident_record_xixiao',
     method: 'post',
     data: params
   })
@@ -39,7 +39,7 @@ export function getCarWash(params) {
 /* 车辆管理 - 车辆洗消 - 总数 */
 export function getCarWashTotal(params) {
   return axios({
-    url: 'http://192.168.1.171:9987/accident/accident_record_xixiao_totalpage',
+    url: '/produce/accident/accident_record_xixiao_totalpage',
     method: 'post',
     data: params
   })