import request from "../request"; export function login(data) { return request("/wechat/mini/login", { method: "POST", data, }); } export function pwdLogin(data) { return request("/login/password", { method: "POST", data, }); } export function getUserInfo() { return request("/profile", { method: "GET" }); }