Bladeren bron

接口地址修改

seimin 3 jaren geleden
bovenliggende
commit
d3f41e9753
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  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 485
   listWxIncident(data) {
486
-    return this.http.post(host.host + "/api/listWxIncident", data, {
486
+    return this.http.post(host.host + "/itsm/listWxIncident", data, {
487 487
       headers: this.headers,
488 488
     });
489 489
   }
490 490
   //查区域地点接口
491 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 493
       headers: this.headers,
494 494
     });
495 495
   }
496 496
   //提交报修
497 497
   addWxIncident(data) {
498
-    return this.http.post(host.host + "/api/addWxIncident", data, {
498
+    return this.http.post(host.host + "/itsm/addWxIncident", data, {
499 499
       headers: this.headers,
500 500
     });
501 501
   }
502 502
   //获取微信报修ID
503 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 505
       headers: this.headers,
506 506
     });
507 507
   }