From 6b79c8518cf0d067ecff01bb33401ed0f9185a21 Mon Sep 17 00:00:00 2001 From: Jimmy Liow <18777396951@163.com> Date: Wed, 14 Jun 2023 14:57:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=92=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=8A=A0=E4=B8=8Atoken=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Reservation.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/stores/Reservation.js b/src/stores/Reservation.js index ba53c10..52765a7 100644 --- a/src/stores/Reservation.js +++ b/src/stores/Reservation.js @@ -25,6 +25,7 @@ class Reservation { .append('TotalNum', totalNum) .append('PageSize', this.reservationPage.size) .append('PageIndex', this.reservationPage.current) + .append("token", this.root.authStore.login.token) .build(); return fetchJSON(fetchUrl) @@ -55,6 +56,7 @@ class Reservation { const fetchUrl = prepareUrl(HT_HOST + '/service-cusservice/GetPlanInfo') .append('VEI_SN', this.root.authStore.login.travelAgencyId) .append('GRI_SN', reservationId) + .append("token", this.root.authStore.login.token) .build(); return fetchJSON(fetchUrl) @@ -91,6 +93,7 @@ class Reservation { .append('VEI_SN', this.root.authStore.login.travelAgencyId) .append('GRI_SN', reservationId) .append('LGC', 1) + .append("token", this.root.authStore.login.token) .build(); runInAction(() => { @@ -121,6 +124,7 @@ class Reservation { .append('VEI_SN', this.root.authStore.login.travelAgencyId) .append('GRI_SN', this.selectedReservation.reservationId) .append('LGC', 1) + .append("token", this.root.authStore.login.token) .build(); return fetchJSON(fetchUrl) @@ -144,6 +148,7 @@ class Reservation { fetchAllGuideList() { const fetchUrl = prepareUrl(HT_HOST + '/service-cusservice/PTGetGuideList') .append('VEI_SN', this.root.authStore.login.travelAgencyId) + .append("token", this.root.authStore.login.token) .build(); return fetchJSON(fetchUrl) @@ -171,6 +176,7 @@ class Reservation { formData.append('CII_SN', cityId); formData.append('GetDate', this.selectedReservation.reservationDate); formData.append('LMI_SN', this.root.authStore.login.userId); + formData.append("token", this.root.authStore.login.token); const postUrl = HT_HOST + '/service-cusservice/PTAddGuide'; return postForm(postUrl, formData) @@ -187,6 +193,7 @@ class Reservation { formData.append('OPSN', this.root.authStore.login.userId); formData.append('ConfirmText', confirmText); formData.append('VAS_SN', this.selectedConfirmation.VAS_SN); + formData.append("token", this.root.authStore.login.token); const postUrl = HT_HOST + '/service-cusservice/PTConfirmPlanChange';