import { WeaTools } from 'ecCom';

export const deletePicResource = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/deletePicResource', 'POST', params);
}

export const savePicResource = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/savePicResource', 'POST', params);
}

export const getStaffRemindSettingPc = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/pc/getStaffRemindSetting', 'GET', params);
}

export const getStaffRemindSettingMobile = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/mobile/getStaffRemindSetting', 'GET', params);
}

export const savePcStaffRemindSetting = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/pc/saveStaffRemindSetting', 'POST', params);
}

export const saveMobileStaffRemindSetting = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/mobile/saveStaffRemindSetting', 'POST', params);
}

export const resetSetting = (params) => {
    return WeaTools.callApi('/api/hrm/birthday/resetSetting', 'POST', params);
}

