From ea32948b8471ef3a4525d871979751d5ec449c29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=A0=E4=B8=BA=E4=BB=80=E4=B9=88=E6=8A=B1=E7=9D=80?= =?UTF-8?q?=E9=94=AE=E7=9B=98=E7=9D=A1=E8=A7=89?= <2170454588@qq.com> Date: Wed, 9 Nov 2022 08:23:23 +0000 Subject: [PATCH] =?UTF-8?q?update=20api/login.js.=20=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E7=99=BB=E5=BD=95=E6=B2=A1=E4=BC=A0=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E7=AB=AF=E7=B1=BB=E5=9E=8B=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=B0=B1PC=E4=BA=86=20=E5=AF=BC=E8=87=B4app=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=9A=84=E8=AF=9Dtoken=E6=9C=89=E6=95=88=E6=9C=9F=E5=B0=B1?= =?UTF-8?q?=E4=B8=A4=E5=88=86=E9=92=9F=20=E6=B2=A1=E6=9C=8915=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 你为什么抱着键盘睡觉 <2170454588@qq.com> --- api/login.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/login.js b/api/login.js index 5add383..f413ba8 100644 --- a/api/login.js +++ b/api/login.js @@ -19,13 +19,14 @@ export function resetByMobile(params) { * @params password * @params username */ - export function userLogin(params){ + export function userLogin(params, clientType){ return http.request({ method: "POST", url:`/passport/member/userLogin`, data: params, header: { "content-type": "application/x-www-form-urlencoded", + clientType: clientType, }, }) }