54 lines
936 B
JavaScript
54 lines
936 B
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询app版本信息列表
|
||
|
export function listVersion(query) {
|
||
|
return request({
|
||
|
url: '/system/version/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询app版本信息详细
|
||
|
export function getVersion(id) {
|
||
|
return request({
|
||
|
url: '/system/version/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
|
||
|
// 查询安卓版本信息详细
|
||
|
export function getAndroidV() {
|
||
|
return request({
|
||
|
url: '/system/version/Android',
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增app版本信息
|
||
|
export function addVersion(data) {
|
||
|
return request({
|
||
|
url: '/system/version',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改app版本信息
|
||
|
export function updateVersion(data) {
|
||
|
return request({
|
||
|
url: '/system/version',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除app版本信息
|
||
|
export function delVersion(id) {
|
||
|
return request({
|
||
|
url: '/system/version/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|