import {http} from '@/utils/http'


// 获取图片验证码
export const getCaptcha = () => http.get<Record<string, any>>('/auth/code')

// 登录
export const login = (data: Record<string, any>) =>
    http.post<{
        token: string
    }>('/app/login', data)

