📖 CRM:【客户配置】调整目录结构

This commit is contained in:
YunaiV committed 2024-01-03 20:09:56 +08:00
1 parent 4fbb3b88e6
commit d71097ac31
6 files changed
+23 -28

No files matched your search

+19
View File
@@ -0,0 +1,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 })
}