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
   })