du
9 天以前 40231b937a9c8ed9341140a476db2d822d05d330
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import request from '@/config/axios'
 
export interface ContractConfigVO {
  notifyEnabled?: boolean
  notifyDays?: number
}
 
// 获取合同配置
export const getContractConfig = async () => {
  return await request.get({ url: `/crm/contract-config/get` })
}
 
// 更新合同配置
export const saveContractConfig = async (data: ContractConfigVO) => {
  return await request.put({ url: `/crm/contract-config/save`, data })
}