import axios from '../axios'

const license = () => axios.get('auth/license')

const code = (data) => axios.post('auth/code/login2', data)

const loginByCode = (data) => axios.post('auth/loginByCode', data)

export default {
    license,
    code,
    loginByCode
}
