2025-03-20 13:37:24 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
export function shopUserInfo () {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/apply_shop/shop_user/info',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function page (pageParam) {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/shop_user/page',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'get',
|
|
|
|
params: pageParam
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function get (shopUserId) {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/shop_user',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'get',
|
|
|
|
params: {
|
|
|
|
shopUserId
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function save (data) {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/shop_user',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'post',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function update (data) {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/shop_user',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'put',
|
|
|
|
data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function deleteById (shopUserId) {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/shop_user',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'delete',
|
|
|
|
params: {
|
|
|
|
shopUserId
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 验证手机号/邮箱/用户名
|
|
|
|
export function verifyAccount (data) {
|
|
|
|
return request({
|
2025-04-11 20:11:43 +08:00
|
|
|
url: '/tmerclub_admin/m/shop_user/verify_account',
|
2025-03-20 13:37:24 +08:00
|
|
|
method: 'get',
|
|
|
|
params: data
|
|
|
|
})
|
|
|
|
}
|