diff --git a/src/api/user.ts b/src/api/user.ts index 8460fb7..9566e7b 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -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, }),