浏览代码

接口地址修改

seimin 3 年之前
父节点
当前提交
d3f41e9753
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/app/services/main.service.ts

+ 4 - 4
src/app/services/main.service.ts

@@ -483,25 +483,25 @@ export class MainService {
483
   }
483
   }
484
   //查报修列表
484
   //查报修列表
485
   listWxIncident(data) {
485
   listWxIncident(data) {
486
-    return this.http.post(host.host + "/api/listWxIncident", data, {
486
+    return this.http.post(host.host + "/itsm/listWxIncident", data, {
487
       headers: this.headers,
487
       headers: this.headers,
488
     });
488
     });
489
   }
489
   }
490
   //查区域地点接口
490
   //查区域地点接口
491
   fetchListBx(type,data) {
491
   fetchListBx(type,data) {
492
-    return this.http.post(host.host + "/api/fetchDataList/" + type, data, {
492
+    return this.http.post(host.host + "/itsm/fetchDataList/" + type, data, {
493
       headers: this.headers,
493
       headers: this.headers,
494
     });
494
     });
495
   }
495
   }
496
   //提交报修
496
   //提交报修
497
   addWxIncident(data) {
497
   addWxIncident(data) {
498
-    return this.http.post(host.host + "/api/addWxIncident", data, {
498
+    return this.http.post(host.host + "/itsm/addWxIncident", data, {
499
       headers: this.headers,
499
       headers: this.headers,
500
     });
500
     });
501
   }
501
   }
502
   //获取微信报修ID
502
   //获取微信报修ID
503
   wxbx(data) {
503
   wxbx(data) {
504
-    return this.http.post(host.host + "/api/restful/wxbx", data, {
504
+    return this.http.post(host.host + "/itsm/restful/wxbx", data, {
505
       headers: this.headers,
505
       headers: this.headers,
506
     });
506
     });
507
   }
507
   }