fix: 修复设置支付密码引用问题

This commit is contained in:
Waiting committed 2025-01-21 01:12:18 +08:00
1 parent 894818401e
commit b50eb2f1c2
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -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 { get, post } from '@/utils/request';
import { UserBean } from '@/store/modules/user/types'; import { UserBean } from '@/store/modules/user/types';
+6
View File
@@ -124,3 +124,9 @@ export interface SetPayPasswordParams {
oldpwd: string, oldpwd: string,
newpwd: string newpwd: string
} }
export interface PayPasswordResponse {
success: boolean
message: string
hasPassword?: boolean
}