From 71cdbc57a19232f9cdf8952af5dd291a56600989 Mon Sep 17 00:00:00 2001 From: lik Date: Tue, 10 Nov 2026 15:58:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E6=90=BA=E5=B8=A6=20?= =?UTF-8?q?appId=EF=BC=8C=E9=85=8D=E5=90=88=E5=A4=9A=E7=AB=AF=E4=BC=9A?= =?UTF-8?q?=E8=AF=9D=E5=88=86=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, }),