feat: 登录携带 appId,配合多端会话分组

This commit is contained in:
lik
2026-11-10 15:58:00 +08:00
parent 2a05da8d00
commit 71cdbc57a1
+2 -1
View File
@@ -14,7 +14,8 @@ export const userApi = {
signin: (mobile: string, passwd: string) =>
request<{ user: UserView }>('/user/signin', {
method: 'POST',
body: { mobile, passwd },
// appId 仅用于多端会话分组:管理端登录不再覆盖小程序端的 token
body: { mobile, passwd, appId: 'web-escort-admin' },
silent: true,
}),