From 2fdedd7395852f207a25acaf0b57c09dbf8cda4d Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Sun, 28 Apr 2024 10:23:28 +0800
Subject: [PATCH] 修改:充值新增 USDC

---
 src/API/userCenter.js |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/API/userCenter.js b/src/API/userCenter.js
index d829297..6b4e253 100644
--- a/src/API/userCenter.js
+++ b/src/API/userCenter.js
@@ -290,6 +290,15 @@
     params
   );
 };
+//判断后台是否开启谷歌验证
+const invitationCode = (params) => {
+  return httpAxios({
+    url: "/api/user/invitationCode",
+    method: "get",
+    isLoading: false,
+    params,
+  });
+};
 
 const apiList = {
   getConfigurationByKey,
@@ -317,6 +326,7 @@
   _getNews,
   _getPopupNews,
   _getIsGoogleAuth,
+  invitationCode,
 };
 
 export default apiList;

--
Gitblit v1.9.3