Răsfoiți Sursa

Update wallet API endpoint for recharge configuration

- Changed the endpoint for fetching browser wallet recharge configuration from `/wallet/recharge/browser/config` to `/wallet/recharge/browser/goldCoin/config` in both `wallet.ts` and the corresponding type definition file.
- Updated comments to reflect the new endpoint for clarity and maintainability.
0es 4 luni în urmă
părinte
comite
b5cc54b00a
3 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 2 2
      app/api/wallet.ts
  2. BIN
      app/assets/images/common/coin.png
  3. 1 1
      app/types/api/wallet.ts

+ 2 - 2
app/api/wallet.ts

@@ -9,10 +9,10 @@ import type { ResultVOString, WalletRechargeConfigVO } from '~/types/api'
 export const walletApi = {
   /**
    * 获取浏览器端钱包充值配置
-   * 对应后端接口:POST /wallet/recharge/browser/config
+   * 对应后端接口:POST /wallet/recharge/browser/goldCoin/config
    */
   getRechargeConfig() {
-    return http.post<WalletRechargeConfigVO>('/wallet/recharge/browser/config')
+    return http.post<WalletRechargeConfigVO>('/wallet/recharge/browser/goldCoin/config')
   },
 
   /**

BIN
app/assets/images/common/coin.png


+ 1 - 1
app/types/api/wallet.ts

@@ -1,5 +1,5 @@
 // Wallet recharge config
-// 对应后端:/wallet/recharge/browser/config
+// 对应后端:/wallet/recharge/browser/goldCoin/config
 
 /**
  * 单个充值档位