Skip to content

Commit

Permalink
fix:修复自定义后台入口后 WEB 终端命令执行失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
build-admin committed Jul 18, 2024
1 parent 799706b commit 69e7878
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/src/api/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ import { state as uploadExpandState, fileUpload as uploadExpand } from '/@/compo
import type { AxiosRequestConfig } from 'axios'
import { uuid } from '/@/utils/random'
import { i18n } from '../lang'
import { adminBaseRoutePath } from '/@/router/static/adminBase'

/*
* 公共请求函数和Url定义
*/

// Admin模块
export const adminUploadUrl = '/admin/ajax/upload'
export const adminBuildSuffixSvgUrl = '/admin/ajax/buildSuffixSvg'
export const adminBuildSuffixSvgUrl = adminBaseRoutePath + '/ajax/buildSuffixSvg'
export const adminAreaUrl = '/admin/ajax/area'
export const getTablePkUrl = '/admin/ajax/getTablePk'
export const getTableListUrl = '/admin/ajax/getTableList'
export const getTableFieldListUrl = '/admin/ajax/getTableFieldList'
export const getDatabaseConnectionListUrl = '/admin/ajax/getDatabaseConnectionList'
export const terminalUrl = '/admin/ajax/terminal'
export const terminalUrl = adminBaseRoutePath + '/ajax/terminal'
export const changeTerminalConfigUrl = '/admin/ajax/changeTerminalConfig'
export const clearCacheUrl = '/admin/ajax/clearCache'

Expand Down

0 comments on commit 69e7878

Please sign in to comment.