shenrongliang
2025-05-26 e47692e7a147f98c298429a2eaa6a4085d6f795d
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 })
}