You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
881 B
53 lines
881 B
import { axios } from '@/utils/request'
|
|
|
|
// 系统配置信息
|
|
export function Sysinfo(){
|
|
// axios.baseURL =host
|
|
return axios({
|
|
url: '/sysinfo',
|
|
method: 'get'
|
|
})
|
|
|
|
}
|
|
|
|
// 服务器的
|
|
export function Sclist(){
|
|
return axios({
|
|
url: '/scdb',
|
|
method: 'get'
|
|
})
|
|
}
|
|
// 使用中的服务器
|
|
export function SerlistInUsing(){
|
|
return axios({
|
|
url: '/sclist',
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 服务器详情
|
|
export function Scdetail(param){
|
|
return axios({
|
|
url: '/scdetail',
|
|
method: 'get',
|
|
params: param
|
|
})
|
|
}
|
|
|
|
// 服务器编辑
|
|
export function Scedit(data){
|
|
return axios({
|
|
url: '/scedit',
|
|
method: 'POST',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 文件列表
|
|
export function GetFileList(param){
|
|
return axios({
|
|
url: '/flist',
|
|
method: 'get',
|
|
params: param
|
|
})
|
|
}
|
|
|