diff --git a/src/zustand/BizOrder.js b/src/zustand/BizOrder.js index a683eb8..4ae984f 100644 --- a/src/zustand/BizOrder.js +++ b/src/zustand/BizOrder.js @@ -2,10 +2,10 @@ import { create } from 'zustand'; import { devtools } from 'zustand/middleware'; import { immer } from 'zustand/middleware/immer'; import { groupsMappedByCode } from '../libs/ht'; -import { fetchJSON } from '../utils/request'; +import { fetchJSON } from '@haina/utils-request'; import { HT_HOST } from '../config'; import { resultDataCb } from '../components/DateGroupRadio/date'; -import { isEmpty, price_to_number } from '../utils/commons'; +import { isEmpty, price_to_number } from '@haina/utils-commons'; const defaultParams = { WebCode: 'all', IncludeTickets: 1, IncludeInternal: 1 }; diff --git a/src/zustand/HostCase.js b/src/zustand/HostCase.js index f975490..70880fa 100644 --- a/src/zustand/HostCase.js +++ b/src/zustand/HostCase.js @@ -1,7 +1,7 @@ import { create } from 'zustand'; import { devtools } from 'zustand/middleware'; import { immer } from 'zustand/middleware/immer'; -import { fetchJSON } from '../utils/request'; +import { fetchJSON } from '@haina/utils-request'; import { HT_HOST } from '../config'; import moment from 'moment'; diff --git a/src/zustand/Trains.js b/src/zustand/Trains.js index 70ca367..cacd597 100644 --- a/src/zustand/Trains.js +++ b/src/zustand/Trains.js @@ -2,9 +2,9 @@ import { create } from 'zustand'; import { devtools } from 'zustand/middleware'; import { immer } from 'zustand/middleware/immer'; import { groupsCTplus, groupsMappedByCode } from '../libs/ht'; -import { fetchJSON } from '../utils/request'; +import { fetchJSON } from '@haina/utils-request'; import { HT_HOST } from '../config'; -import { fixTo2Decimals, fixTo4Decimals, groupBy, isEmpty, price_to_number } from '../utils/commons'; +import { fixTo2Decimals, fixTo4Decimals, groupBy, isEmpty, price_to_number } from '@haina/utils-commons'; /** 火车票服务 */ export const SERVICETYPE_TRAINSBOOKING = '2';