修正登录接口路径错误

This commit is contained in:
洛洛希雅 2024-04-27 00:31:23 +08:00
parent a102a7131e
commit 1f493f0820

View File

@ -36,7 +36,7 @@ export async function login(data): Promise<IUser> {
// 此登录请求走https接口 // 此登录请求走https接口
return request({ return request({
baseURL: 'https://www.lolosia.top/home/api/', baseURL: 'https://www.lolosia.top/home/api/',
url: '/logout', url: '/login',
method: 'post', method: 'post',
responseType: 'json', responseType: 'json',
data data