login接口走https

This commit is contained in:
洛洛希雅 2024-04-27 00:29:03 +08:00
parent ec72f77e53
commit a102a7131e

View File

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