修复bug

This commit is contained in:
menxipeng
2025-09-24 20:20:53 +08:00
parent 0b75730d37
commit e6c413d907
12 changed files with 891 additions and 2 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询商城用户列表
export function listShopUser(query) {
return request({
url: '/back/user/list',
method: 'get',
params: query
})
}
// 查询商城用户详细
export function getShopUser(id) {
return request({
url: '/back/user/' + id,
method: 'get'
})
}
// 新增商城用户
export function addShopUser(data) {
return request({
url: '/back/user',
method: 'post',
data: data
})
}
// 修改商城用户
export function updateShopUser(data) {
return request({
url: '/back/user',
method: 'put',
data: data
})
}
// 删除商城用户
export function delShopUser(id) {
return request({
url: '/back/user/' + id,
method: 'delete'
})
}