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

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

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';

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
}