康鲁杰
2025-03-25 86d0bc1aae11561c0e71daa61d338e1f5d40c6b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import request from '@/config/axios'
 
export interface CustomerPoolConfigVO {
  enabled?: boolean
  contactExpireDays?: number
  dealExpireDays?: number
  notifyEnabled?: boolean
  notifyDays?: number
}
 
// 获取客户公海规则设置
export const getCustomerPoolConfig = async () => {
  return await request.get({ url: `/crm/customer-pool-config/get` })
}
 
// 更新客户公海规则设置
export const saveCustomerPoolConfig = async (data: CustomerPoolConfigVO) => {
  return await request.put({ url: `/crm/customer-pool-config/save`, data })
}