import request from '@/utils/request'

/**
 * @description 账号密码登录
 * @param {any} data 账号密码登录
 * @returns 
 */
export const loginByPassword = (data) => {
    return request({
        url: '/login',
        method: 'post',
        data: data
    })
}

/**
 * @description 爽贵阳快捷登录
 * @param {any} data 爽贵阳快捷登录
 * @returns 
 */
export const loginBySgy = (data) => {
    return request({
        url: '/sgylogin',
        method: 'post',
        data: data
    })
}