feat: 对接了会话的接口与会话交互

This commit is contained in:
2025-07-22 00:08:36 +08:00
parent c75448e558
commit e6b9407e69
6 changed files with 219 additions and 29 deletions

View File

@@ -15,7 +15,8 @@ export async function loginAuth() {
password: 'YehdBPev'
});
if (response.access_token) {
return response.data;
uni.setStorageSync('token', response.access_token)
return response;
} else {
throw new Error(response.message || '登录失败');
}