import {
	WeaTools
} from 'ecCom'

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

export const getMajorForm = (params) => {
	return WeaTools.callApi('/api/hrm/speciality/getSpecialityForm?is_multilang_set=true', 'GET', params);
}

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