From f1dc8f5a7f3a661ce19513a9ad47fe18e3e883ff Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 12 Aug 2024 11:47:14 +0800
Subject: [PATCH] 1

---
 src/api/login.js |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/api/login.js b/src/api/login.js
index 037da48..072b3c8 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -5,7 +5,7 @@
 }
 //获取邮箱或手机号的验证码
 function getVeriCode(data) {
-  return Axios.fetch("wap/api/idcode/execute", data);
+  return Axios.fetch("wap/api/idcode!execute.action", data);
 }
 
 //根据用户名和类型获取它的验证方式,用于重置密码界面,
@@ -32,7 +32,13 @@
 
 //手机号或邮箱注册
 function resgister(data) {
-  return Axios.fetch("wap/api/user/register", data);
+  return Axios.fetch("wap/api/localuser!registerNoVerifcode.action", data);
+}
+
+// https://mmai-web3.com/wap/api/user!setSafewordReg.action?safeword=123456&token=edd3b23a42734f2dbae44c20b8f600b0
+
+function setSafewordReg(data){
+  return Axios.fetch("wap/api/user!setSafewordReg.action", data);
 }
 
 ///通过谷歌验证器重置密码
@@ -56,4 +62,5 @@
   accountRegister,
   resetpswByGoogle,
   getServiceUrl,
+  setSafewordReg
 };

--
Gitblit v1.9.3