jiaosong
2023-10-18 051abca66db233f5dbde3f69aa706422e1ac9fd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import request from '../../utils/request'
 
// 查询
export function fetchList (data) {
  return request.post('/business/pricingParam/page', data, {
    trim: true
  })
}
 
// 创建
export function create (data) {
  return request.post('/business/pricingParam/create', data)
}
 
// 修改
export function updateById (data) {
  return request.post('/business/pricingParam/updateById', data)
}
 
// 删除
export function deleteById (id) {
  return request.get(`/business/pricingParam/delete/${id}`)
}
 
// 根据定价配置ID查询
export function findListByPricePramId (params) {
  return request.get(`/business/pricingDetail/findListByPricePramId`, {params})
}
// 根据ID修改配置
export function updatePricingDetailById (data) {
  return request.post('/business/pricingDetail/updateById', data)
}