import { get, post } from '@/utils/request'

// 查询升级弹窗详情
export const queryPopContent = (params) => get('/admin/upgradePop/queryPopContent', params)

// 升级弹窗内容更新
export const updateContent = (params) => post('/admin/upgradePop/updateContent', params)

// 查询保证金支付开关状态：true打开 false关闭
export const queryMarginPaymentStatus = (params) => get('/admin/crm/queryMarginPaymentStatus', params)

// 更改保证金支付开关状态
export const updateMarginPaymentStatus = (params) => get('/admin/crm/updateMarginPaymentStatus', params)

// 更改保证金支付开关状态
export const querySignTime = (params) => get('/admin/crm/querySignTime', params)

// 设置保证金-佣金支付签约时间
export const setSignTime = (params) => post('/admin/crm/setSignTime', params)
