修改聊天界面,增加联系人信息获取接口

This commit is contained in:
2026-09-13 15:31:56 +08:00
parent f27b9bec46
commit b959d1dcc5
2 changed files with 75 additions and 92 deletions
+15 -7
View File
@@ -9,6 +9,15 @@ export function login(data) {
})
}
// 注册账号
export function register(data) {
return request({
url: '/register',
method: 'post',
data
})
}
// 获取用户信息
export function getUserInfo() {
return request({
@@ -17,11 +26,10 @@ export function getUserInfo() {
})
}
// 注册账号
export function register(data) {
return request({
url: '/register',
method: 'post',
data
})
// 获取用户的联系人信息
export function getContactInfo() {
return request({
url: '/contactInfo',
method: 'get'
})
}