45 lines
908 B
JavaScript
45 lines
908 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询用户贷款申请列表
|
|
export function listLoanUserApply(query) {
|
|
return request({
|
|
url: '/financialCredit/loanUserApply/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询用户贷款申请详细
|
|
export function getLoanUserApply(id) {
|
|
return request({
|
|
url: '/financialCredit/loanUserApply/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增用户贷款申请
|
|
export function addLoanUserApply(data) {
|
|
return request({
|
|
url: '/financialCredit/loanUserApply',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改用户贷款申请
|
|
export function updateLoanUserApply(data) {
|
|
return request({
|
|
url: '/financialCredit/loanUserApply',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除用户贷款申请
|
|
export function delLoanUserApply(id) {
|
|
return request({
|
|
url: '/financialCredit/loanUserApply/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|