feat: 增加扫码登录功能
This commit is contained in:
@@ -2,12 +2,12 @@ import { get, post } from '@/utils/request';
|
||||
|
||||
// 获取用户信息
|
||||
export function getUserInfo() {
|
||||
return get<any>('/ai-chat/account').json();
|
||||
return get<any>('/account/ai').json();
|
||||
}
|
||||
|
||||
// 获取二维码 LoginOrRegister 登录注册, Bind 绑定
|
||||
export function getQrCode(data: any) {
|
||||
return post<any>('/fuwuhao/qrcode', data).json();
|
||||
return post<any>(`/fuwuhao/qrcode?sceneType=${data.sceneType}`, data).json();
|
||||
}
|
||||
|
||||
// 扫码轮询
|
||||
|
||||
Reference in New Issue
Block a user