diff --git a/src/pages/draw/service.ts b/src/pages/draw/service.ts index 24c2be7..d990afb 100644 --- a/src/pages/draw/service.ts +++ b/src/pages/draw/service.ts @@ -2,6 +2,7 @@ import http from '@/utils/http'; import _ from 'lodash'; import BigNumber from 'bignumber.js'; import { CoinDrawn, FundBasic } from '@/types/common'; +import { encryptPwd } from '@/utils/transform'; export async function getCoins(): Promise { const { ok, msg, data } = await http.get('/fund/withdrawCoins'); @@ -23,7 +24,7 @@ export async function withdraw( coinId: coin.id, targetAddress, amount, - password, + password: encryptPwd(password), }); if (ok) return throw Error(msg);