diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index 9d8951f..fd07424 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -5,7 +5,7 @@ import { AtCard, AtAccordion } from 'taro-ui'; import type CustomTabBar from '@/custom-tab-bar'; import PageFooter from '@/components/PageFooter/PageFooter'; import pt from '@/plain-text'; -import { getDutyInfo } from '@/service/MainPage'; +import { getDutyInfo } from '@/service/dutyInfo'; import './index.scss'; import TitleCard from './TitleCard'; import { DutyInfo, DutyData } from './DutyInfo'; diff --git a/src/pages/user/inform/inform.tsx b/src/pages/user/inform/inform.tsx index 6d9cb24..a3ab1ed 100644 --- a/src/pages/user/inform/inform.tsx +++ b/src/pages/user/inform/inform.tsx @@ -3,7 +3,7 @@ import { AtForm, AtInput, AtButton, AtMessage } from 'taro-ui'; import { View } from '@tarojs/components'; import Taro from '@tarojs/taro'; import pt from '@/plain-text'; -import { updateUserInfo } from '@/service/UserInfo'; +import { updateUserInfo } from '@/service/userData'; import './inform.scss'; const submitInterval = 5000; diff --git a/src/service/MainPage.ts b/src/service/dutyInfo.ts similarity index 100% rename from src/service/MainPage.ts rename to src/service/dutyInfo.ts diff --git a/src/service/UserInfo.ts b/src/service/userData.ts similarity index 100% rename from src/service/UserInfo.ts rename to src/service/userData.ts