xnzt/xnzt-h5/api/financialCredit/loanUserApply.js
2024-11-11 10:27:27 +08:00

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'
})
}