fix: 统一 classMsg API 引用大小写,修复 Linux CI 构建找不到模块

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-24 12:23:24 +08:00
1 parent 2fac0c91f6
commit 8a48b2cf02
3 files changed
+7 -8

No files matched your search

+2 -3
View File
@@ -36,8 +36,8 @@ steps:
- ls -lh "/hzdyjs-releases/${DRONE_TAG}/backend-${DRONE_TAG}.jar"
- name: package-web
# Node 20 + 无 lock 时 npm 易触发 edgesOut 空指针;18 + legacy-peer-deps 更稳
image: node:18-bookworm
# 无 package-lock(被 gitignore);Node20 需 --legacy-peer-deps 规避 npm edgesOut
image: node:20-bookworm
environment:
NPM_CONFIG_REGISTRY: https://registry.npmmirror.com
commands:
@@ -45,7 +45,6 @@ steps:
- echo "==> web tag=${DRONE_TAG} npm=$(npm -v) node=$(node -v)"
- mkdir -p "/hzdyjs-releases/${DRONE_TAG}"
- cd web
# package-lock.json 被 gitignore,仓库内无 lock
- npm install --legacy-peer-deps --no-audit --no-fund
- npm run build:prod
- test -f dist/index.html
@@ -535,9 +535,9 @@ import {
updateClassStatus,
updateClassStatusBatch,
updateClassCampusBatch
} from '@/api/xg/xsjcxx/classmsg/classMsg';
import { listColleges, collegeTree, listMajorsByCollegeId } from '@/api/xg/xsjcxx/classmsg/college';
import { ClassMsgVO, ClassMsgQuery, ClassMsgForm, SysDeptVo } from '@/api/xg/xsjcxx/classmsg/types';
} from '@/api/xg/xsjcxx/classMsg/classMsg';
import { listColleges, collegeTree, listMajorsByCollegeId } from '@/api/xg/xsjcxx/classMsg/college';
import { ClassMsgVO, ClassMsgQuery, ClassMsgForm, SysDeptVo } from '@/api/xg/xsjcxx/classMsg/types';
import { listDormCampus } from '@/api/xg/xgss/xqxx/dormCampus';
import type { DormCampusVO } from '@/api/xg/xgss/xqxx/dormCampus/types';
import { ComponentInternalInstance, ref, reactive, toRefs, onMounted, getCurrentInstance, watch } from 'vue';
@@ -239,8 +239,8 @@
</template>
<script setup name="MajorMsg" lang="ts">
import { listMajor, getMajor, delMajor, addMajor, updateMajor, getCollegeTree, previewMajorMerge, mergeMajors } from '@/api/xg/xsjcxx/classmsg/majormsg';
import { MajorVO, MajorQuery, MajorForm, CollegeTreeNode, MajorMergePreviewVO } from '@/api/xg/xsjcxx/classmsg/majormsg/types';
import { listMajor, getMajor, delMajor, addMajor, updateMajor, getCollegeTree, previewMajorMerge, mergeMajors } from '@/api/xg/xsjcxx/classMsg/majormsg';
import { MajorVO, MajorQuery, MajorForm, CollegeTreeNode, MajorMergePreviewVO } from '@/api/xg/xsjcxx/classMsg/majormsg/types';
import { ComponentInternalInstance, ref, reactive, toRefs, onMounted, getCurrentInstance } from 'vue';
import type { FormInstance as ElFormInstance } from 'element-plus';
import type { ElTree } from 'element-plus';