gaoluyang
2025-04-18 ff6d23c5d61d1c6bee47e5863b57a915d98f7be1
src/api/system/customer.js
@@ -1,10 +1,9 @@
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";
// 查询客户列表
export function selectCustomPageList(query) {
  return request({
    url: '/system/user/selectCustomPageList',
    url: '/system/custom/selectCustomPageList',
    method: 'get',
    params: query
  })
@@ -12,24 +11,24 @@
// 新增客户
export function addCustom(query) {
  return request({
    url: '/system/user/addCustom',
    url: '/system/custom/addCustom',
    method: 'post',
    params: query
    data: query
  })
}
// 修改客户
export function upCustom(query) {
  return request({
    url: '/system/user/upCustom',
    url: '/system/custom/upCustom',
    method: 'post',
    params: query
    data: query
  })
}
// 删除客户
export function delCustomById(query) {
  return request({
    url: '/system/user/delCustomById',
    method: 'post',
    url: '/system/custom/delCustomById',
    method: 'delete',
    params: query
  })
}