oil-station/fuintAdmin_zt/src/api/payConfig/paymentParameter.js
2024-07-31 11:18:53 +08:00

67 lines
1.3 KiB
JavaScript

import request from '@/utils/request'
// 查询支付参数配置信息
export function listPaymentParameterPage(query) {
return request({
url: '/paymentParameterConfig',
method: 'get',
params: query,
})
}
// 修改支付参数配置信息
export function editPaymentParameter(data) {
return request({
url: '/paymentParameterConfig',
method: 'put',
data: data,
})
}
// 添加支付参数配置信息
export function addPaymentParameter(data) {
return request({
url: '/paymentParameterConfig',
method: 'post',
data: data,
})
}
// 根据id查询支付参数配置信息
export function paymentParameterInfo(id) {
return request({
url: '/paymentParameterConfig/'+id,
method: 'get',
})
}
// 根据id删除支付参数配置信息
export function deletePaymentParameter(id) {
return request({
url: '/paymentParameterConfig/'+id,
method: 'delete',
})
}
// 根据id查询支付参数配置信息
export function getPaymentParameter(id) {
return request({
url: '/paymentParameterConfig/getInfo/'+id,
method: 'get',
})
}
// 根据deptId查询支付参数配置信息
export function getPaymentParameterByDeptId(deptId) {
return request({
url: '/paymentParameterConfig/getListByDeptId/'+deptId,
method: 'get',
})
}