import Http from './request'
import HttpConfig from './http'

const login = {
	async loginApp (data = {} , header = {}){
		return await Http.post(
			HttpConfig.baseUrl,
			HttpConfig.serviceUrl.login.loginApp,
			data,
			header
		)
	},
	async registerApp (data = {} , header = {}){
		return await Http.post(
			HttpConfig.baseUrl,
			HttpConfig.serviceUrl.login.registerApp,
			data,
			header
		)
	},
}

export default {
	login
}
