From b50eb2f1c2153278ed2fcdea87c3a980e8d200ee Mon Sep 17 00:00:00 2001 From: Waiting Date: Tue, 21 Jan 2025 01:12:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=AF=86=E7=A0=81=E5=BC=95=E7=94=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user/index.ts | 2 +- src/api/user/types.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/api/user/index.ts b/src/api/user/index.ts index 59e0852..7e1b6f9 100644 --- a/src/api/user/index.ts +++ b/src/api/user/index.ts @@ -1,7 +1,7 @@ /** * 用户信息相关接口 */ -import type { CouponBean, LoginParams, LoginResult, RegisterParams, TerminalBean, SetPayPasswordParams} from './types'; +import type { CouponBean, LoginParams, LoginResult, RegisterParams, TerminalBean, SetPayPasswordParams,PayPasswordResponse} from './types'; import { get, post } from '@/utils/request'; import { UserBean } from '@/store/modules/user/types'; diff --git a/src/api/user/types.ts b/src/api/user/types.ts index 39aa857..2292727 100644 --- a/src/api/user/types.ts +++ b/src/api/user/types.ts @@ -124,3 +124,9 @@ export interface SetPayPasswordParams { oldpwd: string, newpwd: string } + +export interface PayPasswordResponse { + success: boolean + message: string + hasPassword?: boolean +}