diff --git a/.env.dev b/.env.dev index 689718b2..5cce6646 100644 --- a/.env.dev +++ b/.env.dev @@ -12,9 +12,6 @@ VITE_UPLOAD_TYPE=server # 上传路径 VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload' -# 接口前缀 -VITE_API_BASEPATH=/dev-api - # 接口地址 VITE_API_URL=/admin-api diff --git a/.env.local b/.env.local index 3b997668..005d2f0d 100644 --- a/.env.local +++ b/.env.local @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server # 上传路径 VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' -# 接口前缀 -VITE_API_BASEPATH=/dev-api - # 接口地址 VITE_API_URL=/admin-api diff --git a/.env.prod b/.env.prod index 35d729c3..842ba616 100644 --- a/.env.prod +++ b/.env.prod @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server # 上传路径 VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' -# 接口前缀 -VITE_API_BASEPATH= - # 接口地址 VITE_API_URL=/admin-api diff --git a/.env.stage b/.env.stage index 26f9516b..f7c521bd 100644 --- a/.env.stage +++ b/.env.stage @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server # 上传路径 VITE_UPLOAD_URL='http://api-dashboard.yudao.iocoder.cn/admin-api/infra/file/upload' -# 接口前缀 -VITE_API_BASEPATH= - # 接口地址 VITE_API_URL=/admin-api diff --git a/.env.test b/.env.test index addbfb4e..7bf1b417 100644 --- a/.env.test +++ b/.env.test @@ -11,9 +11,6 @@ VITE_UPLOAD_TYPE=server # 上传路径 VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload' -# 接口前缀 -VITE_API_BASEPATH= - # 接口地址 VITE_API_URL=/admin-api diff --git a/package.json b/package.json index c7ef3d40..bb7ba1c8 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@wangeditor/editor-for-vue": "^5.1.10", "@zxcvbn-ts/core": "^3.0.4", "animate.css": "^4.1.1", - "axios": "^1.6.7", + "axios": "^1.6.8", "benz-amr-recorder": "^1.1.5", "bpmn-js-token-simulation": "^0.10.0", "camunda-bpmn-moddle": "^7.0.1", @@ -46,7 +46,7 @@ "driver.js": "^1.3.1", "echarts": "^5.5.0", "echarts-wordcloud": "^2.1.0", - "element-plus": "2.5.3", + "element-plus": "2.6.1", "fast-xml-parser": "^4.3.2", "highlight.js": "^11.9.0", "jsencrypt": "^3.3.2", @@ -55,15 +55,15 @@ "mitt": "^3.0.1", "nprogress": "^0.2.0", "pinia": "^2.1.7", - "pinia-plugin-persistedstate": "^3.2.0", + "pinia-plugin-persistedstate": "^3.2.1", "qrcode": "^1.5.3", - "qs": "^6.11.2", + "qs": "^6.12.0", "steady-xml": "^0.1.0", "url": "^0.11.3", "video.js": "^7.21.5", - "vue": "3.4.20", + "vue": "3.4.21", "vue-dompurify-html": "^4.1.4", - "vue-i18n": "9.9.1", + "vue-i18n": "9.10.2", "vue-router": "^4.3.0", "vue-types": "^5.1.1", "vuedraggable": "^4.1.0", diff --git a/src/api/infra/dbDoc/index.ts b/src/api/infra/dbDoc/index.ts deleted file mode 100644 index 1a1a36b4..00000000 --- a/src/api/infra/dbDoc/index.ts +++ /dev/null @@ -1,16 +0,0 @@ -import request from '@/config/axios' - -// 导出Html -export const exportHtml = () => { - return request.download({ url: '/infra/db-doc/export-html' }) -} - -// 导出Word -export const exportWord = () => { - return request.download({ url: '/infra/db-doc/export-word' }) -} - -// 导出Markdown -export const exportMarkdown = () => { - return request.download({ url: '/infra/db-doc/export-markdown' }) -} diff --git a/src/api/system/errorCode/index.ts b/src/api/system/errorCode/index.ts deleted file mode 100644 index 8a86a639..00000000 --- a/src/api/system/errorCode/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -import request from '@/config/axios' - -export interface ErrorCodeVO { - id: number | undefined - type: number - applicationName: string - code: number | undefined - message: string - memo: string - createTime: Date -} - -// 查询错误码列表 -export const getErrorCodePage = (params: PageParam) => { - return request.get({ url: '/system/error-code/page', params }) -} - -// 查询错误码详情 -export const getErrorCode = (id: number) => { - return request.get({ url: '/system/error-code/get?id=' + id }) -} - -// 新增错误码 -export const createErrorCode = (data: ErrorCodeVO) => { - return request.post({ url: '/system/error-code/create', data }) -} - -// 修改错误码 -export const updateErrorCode = (data: ErrorCodeVO) => { - return request.put({ url: '/system/error-code/update', data }) -} - -// 删除错误码 -export const deleteErrorCode = (id: number) => { - return request.delete({ url: '/system/error-code/delete?id=' + id }) -} -// 导出错误码 -export const excelErrorCode = (params) => { - return request.download({ url: '/system/error-code/export-excel', params }) -} diff --git a/src/api/system/mail/account/index.ts b/src/api/system/mail/account/index.ts index b8506b73..15e03917 100644 --- a/src/api/system/mail/account/index.ts +++ b/src/api/system/mail/account/index.ts @@ -8,6 +8,7 @@ export interface MailAccountVO { host: string port: number sslEnable: boolean + starttlsEnable: boolean } // 查询邮箱账号列表 diff --git a/src/api/system/sensitiveWord/index.ts b/src/api/system/sensitiveWord/index.ts deleted file mode 100644 index 1116226f..00000000 --- a/src/api/system/sensitiveWord/index.ts +++ /dev/null @@ -1,58 +0,0 @@ -import request from '@/config/axios' -import qs from 'qs' - -export interface SensitiveWordVO { - id: number - name: string - status: number - description: string - tags: string[] - createTime: Date -} - -export interface SensitiveWordTestReqVO { - text: string - tag: string[] -} - -// 查询敏感词列表 -export const getSensitiveWordPage = (params: PageParam) => { - return request.get({ url: '/system/sensitive-word/page', params }) -} - -// 查询敏感词详情 -export const getSensitiveWord = (id: number) => { - return request.get({ url: '/system/sensitive-word/get?id=' + id }) -} - -// 新增敏感词 -export const createSensitiveWord = (data: SensitiveWordVO) => { - return request.post({ url: '/system/sensitive-word/create', data }) -} - -// 修改敏感词 -export const updateSensitiveWord = (data: SensitiveWordVO) => { - return request.put({ url: '/system/sensitive-word/update', data }) -} - -// 删除敏感词 -export const deleteSensitiveWord = (id: number) => { - return request.delete({ url: '/system/sensitive-word/delete?id=' + id }) -} - -// 导出敏感词 -export const exportSensitiveWord = (params) => { - return request.download({ url: '/system/sensitive-word/export-excel', params }) -} - -// 获取所有敏感词的标签数组 -export const getSensitiveWordTagList = () => { - return request.get({ url: '/system/sensitive-word/get-tags' }) -} - -// 获得文本所包含的不合法的敏感词数组 -export const validateText = (query: SensitiveWordTestReqVO) => { - return request.get({ - url: '/system/sensitive-word/validate-text?' + qs.stringify(query, { arrayFormat: 'repeat' }) - }) -} diff --git a/src/layout/components/TabMenu/src/TabMenu.vue b/src/layout/components/TabMenu/src/TabMenu.vue index 055a6aff..b70464c1 100644 --- a/src/layout/components/TabMenu/src/TabMenu.vue +++ b/src/layout/components/TabMenu/src/TabMenu.vue @@ -195,7 +195,7 @@ export default defineComponent({