From 50ca12b4f86eba4a325459e866313648709f2e40 Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Tue, 23 Apr 2024 00:43:56 +0800
Subject: [PATCH] first

---
 src/i18n/kor.json           |    3 +
 src/i18n/en.json            |    3 +
 src/i18n/spa.json           |    3 +
 src/i18n/jp.json            |    3 +
 src/page/register/index.vue |    8 +++-
 src/i18n/de.json            |    3 +
 src/i18n/vie.json           |    3 +
 src/i18n/cht.json           |    3 +
 src/request/httpAxios.js    |    4 +-
 src/i18n/it.json            |    3 +
 src/i18n/th.json            |    3 +
 src/i18n/id.json            |    3 +
 src/API/login.js            |   16 ++++----
 src/i18n/ara.json           |    3 +
 src/i18n/fra.json           |    3 +
 15 files changed, 40 insertions(+), 24 deletions(-)

diff --git a/src/API/login.js b/src/API/login.js
index 1301d59..7d81bb5 100644
--- a/src/API/login.js
+++ b/src/API/login.js
@@ -27,14 +27,14 @@
 //注册用户
 ///
 const registerUser = (params) => {
-  return httpJson({
-    // url: "api/user/register",
-    url: "api/localuser!registerNoVerifcode",
-    method: "get",
-    isLoading: true,
-    // data: objectToFormData(params),
-    params,
-  });
+  return httpJson(
+    {
+      url: "/api/localuser!registerNoVerifcode.action",
+      method: "get",
+      isLoading: true,
+    },
+    params
+  );
 };
 //登录
 const loginUser = (params) => {
diff --git a/src/i18n/ara.json b/src/i18n/ara.json
index 881df47..088bfd1 100644
--- a/src/i18n/ara.json
+++ b/src/i18n/ara.json
@@ -1943,5 +1943,6 @@
   "是否认购": "إذا كان الاشتراك",
   "请先实名认证!": "يرجى التحقق من الاسم الحقيقي أولا !",
   "USDC充值": "إعادة شحن USDC",
-  "BNB充值": "إعادة شحن BNB"
+  "BNB充值": "إعادة شحن BNB",
+  "記住帳戶密碼": "تذكر كلمة السر"
 }
\ No newline at end of file
diff --git a/src/i18n/cht.json b/src/i18n/cht.json
index f6fca20..0a7529f 100644
--- a/src/i18n/cht.json
+++ b/src/i18n/cht.json
@@ -1947,5 +1947,6 @@
   "是否认购": "是否認購",
   "请先实名认证!": "請先實名認證!",
   "USDC充值": "USDC充值",
-  "BNB充值": "BNB充值"
+  "BNB充值": "BNB充值",
+  "記住帳戶密碼": "記住帳戶密碼"
 }
\ No newline at end of file
diff --git a/src/i18n/de.json b/src/i18n/de.json
index 7cc653f..8f534c5 100644
--- a/src/i18n/de.json
+++ b/src/i18n/de.json
@@ -1944,5 +1944,6 @@
   "是否认购": "Ob abonniert werden soll",
   "请先实名认证!": "Bitte authentifizieren Sie zuerst Ihren echten Namen!",
   "USDC充值": "USDC Aufladen",
-  "BNB充值": "BNB Aufladen"
+  "BNB充值": "BNB Aufladen",
+  "記住帳戶密碼": "Passwort für das Konto speichern"
 }
\ No newline at end of file
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 69e9697..97d42bf 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -1956,5 +1956,6 @@
   "是否认购": "Whether to subscribe",
   "请先实名认证!": "Please authenticate your real name first!",
   "USDC充值": "USDC deposit",
-  "BNB充值": "BNB deposit"
+  "BNB充值": "BNB deposit",
+  "記住帳戶密碼": "Remember account password"
 }
\ No newline at end of file
diff --git a/src/i18n/fra.json b/src/i18n/fra.json
index 0ef5545..cf2775d 100644
--- a/src/i18n/fra.json
+++ b/src/i18n/fra.json
@@ -2061,5 +2061,6 @@
   "是否认购": "S'abonner ou non",
   "请先实名认证!": "Veuillez d'abord certifier par nom réel!",
   "USDC充值": "Dépôt en USDC",
-  "BNB充值": "Dépôt en BNB"
+  "BNB充值": "Dépôt en BNB",
+  "記住帳戶密碼": "Se souvenir du mot de passe du compte"
 }
\ No newline at end of file
diff --git a/src/i18n/id.json b/src/i18n/id.json
index bea6ff6..255ad24 100644
--- a/src/i18n/id.json
+++ b/src/i18n/id.json
@@ -2142,5 +2142,6 @@
   "是否认购": "Apakah akan berlangganan atau tidak",
   "请先实名认证!": "Harap verifikasi nama asli Anda terlebih dahulu!",
   "USDC充值": "Isi ulang USDC",
-  "BNB充值": "Isi ulang BNB"
+  "BNB充值": "Isi ulang BNB",
+  "記住帳戶密碼": "Ingat kata sandi akun Anda"
 }
\ No newline at end of file
diff --git a/src/i18n/it.json b/src/i18n/it.json
index 1c0e7e1..bb41d1c 100644
--- a/src/i18n/it.json
+++ b/src/i18n/it.json
@@ -2132,5 +2132,6 @@
   "是否认购": "Indica se sottoscrivere",
   "请先实名认证!": "Si prega di autenticare il vostro vero nome prima!",
   "USDC充值": "USDC deposito",
-  "BNB充值": "BNB deposito"
+  "BNB充值": "BNB deposito",
+  "記住帳戶密碼": "Ricorda la password dell'account"
 }
\ No newline at end of file
diff --git a/src/i18n/jp.json b/src/i18n/jp.json
index 85ebf75..dbf0943 100644
--- a/src/i18n/jp.json
+++ b/src/i18n/jp.json
@@ -1961,5 +1961,6 @@
   "是否认购": "購入するかどうか",
   "请先实名认证!": "まず実名認証をお願いします!",
   "USDC充值": "USDCチャージ",
-  "BNB充值": "BNBチャージ"
+  "BNB充值": "BNBチャージ",
+  "記住帳戶密碼": "アカウントパスワードを記憶する"
 }
\ No newline at end of file
diff --git a/src/i18n/kor.json b/src/i18n/kor.json
index 11d2211..fb937ac 100644
--- a/src/i18n/kor.json
+++ b/src/i18n/kor.json
@@ -1974,5 +1974,6 @@
   "是否认购": "인수 여부",
   "请先实名认证!": "실명인증부터 해주세요!",
   "USDC充值": "USDC 충전",
-  "BNB充值": "BNB 충전"
+  "BNB充值": "BNB 충전",
+  "記住帳戶密碼": "계정 비밀번호 기억하기"
 }
\ No newline at end of file
diff --git a/src/i18n/spa.json b/src/i18n/spa.json
index 4827d9f..14e1773 100644
--- a/src/i18n/spa.json
+++ b/src/i18n/spa.json
@@ -1948,5 +1948,6 @@
   "是否认购": "Si suscribir o no",
   "请先实名认证!": "¡¡ por favor, autenticación de nombre real primero!",
   "USDC充值": "USDC Recarga",
-  "BNB充值": "BNB Recarga"
+  "BNB充值": "BNB Recarga",
+  "記住帳戶密碼": "Recuerda la contraseña de la cuenta"
 }
\ No newline at end of file
diff --git a/src/i18n/th.json b/src/i18n/th.json
index 292ffb7..5fc2f46 100644
--- a/src/i18n/th.json
+++ b/src/i18n/th.json
@@ -1956,5 +1956,6 @@
   "是否认购": "ไม่ว่าจะเป็นการสมัคร",
   "请先实名认证!": "โปรดรับรองชื่อจริงก่อน!",
   "USDC充值": "เติมเงิน  USDC",
-  "BNB充值": "เติมเงิน BNB"
+  "BNB充值": "เติมเงิน BNB",
+  "記住帳戶密碼": "จำรหัสผ่านบัญชี"
 }
\ No newline at end of file
diff --git a/src/i18n/vie.json b/src/i18n/vie.json
index dcae754..ccd7f8c 100644
--- a/src/i18n/vie.json
+++ b/src/i18n/vie.json
@@ -1958,5 +1958,6 @@
   "是否认购": "Đăng ký hay không",
   "请先实名认证!": "Xin hãy chứng thực tên thật trước!",
   "USDC充值": "Tiền gửi USDC",
-  "BNB充值": "Tiền gửi BNB"
+  "BNB充值": "Tiền gửi BNB",
+  "記住帳戶密碼": "Ghi nhớ mật khẩu tài khoản"
 }
\ No newline at end of file
diff --git a/src/page/register/index.vue b/src/page/register/index.vue
index 5953ca2..8bf8d28 100644
--- a/src/page/register/index.vue
+++ b/src/page/register/index.vue
@@ -262,10 +262,14 @@
 
     async registerApi() {
       this.$store.state.user.userInfo.token = undefined;
-
+      console.log({
+        ...this.form,
+        type: 0,
+        em: this.form.email,
+      });
       Axios.registerUser({
         ...this.form,
-        type: 2,
+        type: 4,
         em: this.form.email,
       })
         .then((res) => {
diff --git a/src/request/httpAxios.js b/src/request/httpAxios.js
index f552b3c..3732be0 100644
--- a/src/request/httpAxios.js
+++ b/src/request/httpAxios.js
@@ -9,8 +9,8 @@
 axios.defaults.headers.post["Content-Type"] =
   "application/x-www-form-urlencoded";
 
-// let baseUrl = "https://api.usdtone.com/wap/";
-let baseUrl = "http://192.168.0.105:18080/wap/";
+let baseUrl = "https://api.usdtone.com/wap/";
+// let baseUrl = "http://192.168.0.105:18080/wap/";
 
 // 创建
 const request = axios.create({

--
Gitblit v1.9.3