import request from '@/static/js/request.js'

const apiUri = {
	data: '/home/data',
	license: '/home/license',
	check: '/auth/check',
	save: '/user/save'
}

export function license(param) {
	return request.request(apiUri.license,'GET', param,false,true,true)
}
export function data(param) {
	return request.request(apiUri.data,'GET', param,false,true,true)
}
export function check(param) {
	return request.request(apiUri.check,'POST', param,false,true,false)
}
export function save(param) {
	return request.request(apiUri.save,'POST', param,false,true,false)
}