Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
打包
bulaienaofutuojiesenzhang4322ebbf4d93
diff --git a/src/api/income.ts b/src/api/income.tsindex 151d7c5f..dcfb62d1 100644--- a/src/api/income.ts+++ b/src/api/income.ts@@ -20,7 +20,7 @@ export const apiGetIncomeList = (page: {/*** 提交提现*/-export const apiSubmitWithdraw = (incomeRecordId: string, userWalletAccountId: string, flowId?: string) => {+export const apiSubmitWithdraw = (incomeRecordId: string, userWalletAccountId?: string, flowId?: string) => {return request<any>({url: `income/withdraw`,method: 'POST',diff --git a/src/app/layout/LyaoutHeader.tsx b/src/app/layout/LyaoutHeader.tsxindex 32484f87..336f7b02 100644--- a/src/app/layout/LyaoutHeader.tsx+++ b/src/app/layout/LyaoutHeader.tsx@@ -43,20 +43,8 @@ function UserInfo() {</div>),},- // {- // key: "2",- // label: (- // <div- // onClick={() => {- // router.push("/notification");- // }}- // >- // {t("header.messages")}- // </div>- // ),- // },{- key: "3",+ key: "5",label: (<divonClick={() => {@@ -68,7 +56,7 @@ function UserInfo() {),},{- key: "4",+ key: "6",label: (<divonClick={() => {@@ -80,7 +68,44 @@ function UserInfo() {),},{- key: "5",+ key: "2",+ label: (+ <div+ onClick={() => {+ router.push("/income");+ }}+ >+ {t("header.income" as any)}+ </div>+ ),+ },+ {+ key: "3",+ label: (+ <div+ onClick={() => {+ router.push("/wallet");+ }}+ >+ {t("header.wallet" as any)}+ </div>+ ),+ },+ // {+ // key: "4",+ // label: (+ // <div+ // onClick={() => {+ // router.push("/notification");+ // }}+ // >+ // {t("header.messages")}+ // </div>+ // ),+ // },++ {+ key: "7",label: (<divonClick={() => {