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';