2024-06-13 23:15:52 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 查询用户详细信息列表
|
|
|
|
export function listUserinfo(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/list',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询用户详细信息详细
|
|
|
|
export function getUserinfo(userId) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/' + userId,
|
2024-07-07 23:52:46 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
//获取某一用户信息
|
|
|
|
export function getADUserInfo(userId) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/getaduser/' + userId,
|
2024-06-13 23:15:52 +08:00
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 新增用户详细信息
|
|
|
|
export function addUserinfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改用户详细信息
|
|
|
|
export function updateUserinfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
// 修改用户详细信息
|
|
|
|
export function updateUserinfo2(data) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/app',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除用户详细信息
|
|
|
|
export function delUserinfo(userId) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/' + userId,
|
|
|
|
method: 'delete'
|
|
|
|
})
|
|
|
|
}
|
2024-06-30 14:52:10 +08:00
|
|
|
|
|
|
|
// 查询用户详细信息列表-审核列表
|
|
|
|
export function getStudentlistInfo(query) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/list/studentAudit',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 审核认证
|
|
|
|
export function updateAuditInfo(data) {
|
|
|
|
return request({
|
|
|
|
url: '/system/userinfo/app/updateAuditInfo',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|