修复bug

This commit is contained in:
menxipeng
2025-09-21 17:49:23 +08:00
parent 142c00bc9e
commit 0b75730d37
23 changed files with 1320 additions and 18 deletions

View File

@@ -0,0 +1,52 @@
import request from '@/utils/request'
// 查询应用版本更新信息列表
export function listVersion(query) {
return request({
url: '/back/version/list',
method: 'get',
params: query
})
}
// 查询应用版本更新信息详细
export function getVersion(id) {
return request({
url: '/back/version/' + id,
method: 'get'
})
}
// 新增应用版本更新信息
export function addVersion(data) {
return request({
url: '/back/version',
method: 'post',
data: data
})
}
// 修改应用版本更新信息
export function updateVersion(data) {
return request({
url: '/back/version',
method: 'put',
data: data
})
}
// 删除应用版本更新信息
export function delVersion(id) {
return request({
url: '/back/version/' + id,
method: 'delete'
})
}
// 获取渠道列表
export function getChannelList() {
return request({
url: '/back/version/getChannel',
method: 'get'
})
}

View File

@@ -20,8 +20,8 @@ export function getUser(id) {
// 修改用户状态
export function updateUserStatus(id, status) {
return request({
url: '/back/user/status',
method: 'post',
url: '/back/user/',
method: 'put',
data: {
id: id,
status: status
@@ -35,7 +35,7 @@ export function delUser(id) {
url: '/back/user/' + id,
method: 'delete'
})
}
}
// 获取用户标签
export function getUserTags(userId) {