import request from "@/utils/request.js"; import { host } from './config.js' /** * 登录 * @param {Object} data */ export function login(data) { return request({ url: `${host}/user/login`, method: "post", data }); }