feat: chat list page for mobile is ready

This commit is contained in:
RockYang
2023-06-25 06:53:22 +08:00
parent ad0f96fcb1
commit 0b6940b121
6 changed files with 153 additions and 26 deletions

View File

@@ -3,7 +3,7 @@ import {httpGet} from "@/utils/http";
export function checkSession() {
return new Promise((resolve, reject) => {
httpGet('/api/user/session').then(res => {
resolve(res)
resolve(res.data)
}).catch(err => {
reject(err)
})