import {
	WeaTools
} from 'ecCom'

export const getRight = (params) => {
	return WeaTools.callApi('/api/hrm/detachmanagerset/getHasRight', 'GET', params);
}

export const getForm = (params) => {
	return WeaTools.callApi('/api/hrm/detachmanagerset/getSettingForm?is_multilang_set=true', 'GET', params);
}

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