Skip to content

Commit

Permalink
chore(canteen): deprecate canteen flow page (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
j10ccc authored Oct 19, 2024
1 parent 619fd2c commit 1487388
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 227 deletions.
1 change: 0 additions & 1 deletion src/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default {
"pages/connect/faq/index",
"pages/lab/index",
"pages/freeroom/index",
"pages/canteenflow/index",
"pages/announcement/index",
"pages/electricity/index",
"pages/electricity/record/index",
Expand Down
2 changes: 0 additions & 2 deletions src/constants/copywriting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ export const helpText = {
},
exam: "丨微精弘的数据全部来源于正方教务系统,如果有误,请向正方教务系统提出更正意见。\n丨考试信息以实际为准,常见考试时长是2h,但也有部分考试时长为1.5h,请大家务必仔细注意考场黑板上的考试时间噢~",
examCard: "若信息长时间无法更新或总是刷新失败,可能是因为更改过正方教务系统的密码,请前往我的-绑定-重新绑定正方账号。\n丨考试安排中的信息全部来自正方教务系统,数据录入可能会有延迟,请耐心等待。如有疑问请联系教务处,本程序仅作信息展示。\n丨仅展示 近3日 的考试",
canteenflow:
"丨食堂计数机制存在误差,且数据有一定延迟,流量指数仅供参考噢 \n丨莫干山校区暂无食堂流量数据,摊手手\n丨祝大家干饭顺利",
activtion:
"因微精弘改版更新,老用户需要重新对微精弘账号进行激活操作,重新设置的密码将作为账号新密码,万望理解。如遇长时间加载可退出重试或删除小程序重新进入(如有疑问请加群 721519763 )",
score:
Expand Down
6 changes: 0 additions & 6 deletions src/pages/canteenflow/index.config.ts

This file was deleted.

79 changes: 0 additions & 79 deletions src/pages/canteenflow/index.scss

This file was deleted.

104 changes: 0 additions & 104 deletions src/pages/canteenflow/index.vue

This file was deleted.

3 changes: 0 additions & 3 deletions src/services/api/apiList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ const api = {
midtermscoreInfo: "/api/func/zf/midtermscore",
freeroom: "/api/func/zf/room"
},
canteen: {
flow: "/api/func/canteen/flow"
},
electricity: {
balance: "/api/func/electricity/balance",
record: "/api/func/electricity/record",
Expand Down
2 changes: 0 additions & 2 deletions src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import ZFService from "./services/zfService";
import SystemService from "./services/systemService";
import UserService from "./services/userService";
import LibraryService from "./services/libraryService";
import CanteenService from "./services/canteenService";
import YxyService from "./services/yxyService";
import LostfoundService from "./services/lostfoundService";
import SuitService from "./services/suitService";
Expand All @@ -15,7 +14,6 @@ export {
SystemService,
UserService,
LibraryService,
CanteenService,
YxyService,
LostfoundService,
SuitService,
Expand Down
8 changes: 0 additions & 8 deletions src/services/services/canteenService.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/store/service/canteen.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/store/service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { BorrowBooksInfo } from "@/types/BorrowBooksInfo";
import { AnnouncementStore, AnnouncementType } from "./announcement";
import { InformationStore, InformationStoreType } from "./information";
import { AppListItem } from "@/types/AppList";
import { CanteenServiceStore } from "./canteen";
import { ScoreServiceStore } from "./score";
import { HomeCardServiceStore, HomeCardServiceType } from "./homecard";
import { ElectricityServiceStore } from "./electricity";
Expand All @@ -24,12 +23,6 @@ export interface ServiceStoreType {
webview: WebviewStoreType;
announcement: AnnouncementType;
information: InformationStoreType;
canteen: {
flow: any;
updateTime: {
flow: string;
};
};
electricity: {
roomName: string;
roomCode: string;
Expand Down Expand Up @@ -70,7 +63,6 @@ export const ServiceStore = {
zf: ZFServiceStore,
announcement: AnnouncementStore,
information: InformationStore,
canteen: CanteenServiceStore,
score: ScoreServiceStore,
homecard: HomeCardServiceStore,
electricity: ElectricityServiceStore,
Expand Down

0 comments on commit 1487388

Please sign in to comment.