Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
feat: 用户钱包字段补充
yikaJasonMic76c9b75b8587
diff --git a/src/api/types/userWalletAccount.ts b/src/api/types/userWalletAccount.tsindex 110a163a..55770f5c 100644--- a/src/api/types/userWalletAccount.ts+++ b/src/api/types/userWalletAccount.ts@@ -1,3 +1,10 @@+/*+ * @Author: nevin+ * @Date: 2025-03-01 19:27:35+ * @LastEditTime: 2025-03-01 19:39:02+ * @LastEditors: nevin+ * @Description: 用户钱包账户+ */export enum WalletAccountType {ZFB = 'ZFB',WX_PAY = 'WX_PAY',@@ -5,6 +12,7 @@ export enum WalletAccountType {export interface UserWalletAccount {id: string;+ account: string; // 账户号userId: string;userName: string; // 真实姓名cardNum: string; // 身份证号@@ -13,6 +21,7 @@ export interface UserWalletAccount {}export interface CreateUserWalletAccountParams {+ account: string; // 账户号userName: string; // 真实姓名cardNum: string; // 身份证号phone: string; // 绑定的手机号diff --git a/src/views/finance/userWalletAccount.tsx b/src/views/finance/userWalletAccount.tsxindex 4ac0b73e..e72411d4 100644--- a/src/views/finance/userWalletAccount.tsx+++ b/src/views/finance/userWalletAccount.tsx@@ -1,7 +1,7 @@/** @Author: nevin* @Date: 2025-02-10 22:20:15- * @LastEditTime: 2025-02-28 22:09:10+ * @LastEditTime: 2025-03-01 19:39:12* @LastEditors: nevin* @Description: 用户的钱包账户 userWalletAccount*/@@ -41,11 +41,14 @@ export default function Page() {<AddWalletAccount ref={Ref_AddWalletAccountRef} /><div>- ƒ{' '}{walletAccountList.map((v) => {return (<div key={v.id}>- {v.phone}+ <p>手机号{v.phone} </p>+ <p>账户号{v.account} </p>+ <p>身份证号{v.cardNum} </p>+ <p>账号类型{v.type} </p>+ <p>用户名{v.userName} </p><Button type="primary">查看</Button></div>);