| | |
| | | } |
| | | //获取邮箱或手机号的验证码 |
| | | function getVeriCode(data) { |
| | | return Axios.fetch("wap/api/idcode/execute", data); |
| | | return Axios.fetch("wap/api/idcode!execute.action", data); |
| | | } |
| | | |
| | | //根据用户名和类型获取它的验证方式,用于重置密码界面, |
| | |
| | | |
| | | //手机号或邮箱注册 |
| | | 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); |
| | | } |
| | | |
| | | ///通过谷歌验证器重置密码 |
| | |
| | | accountRegister, |
| | | resetpswByGoogle, |
| | | getServiceUrl, |
| | | setSafewordReg |
| | | }; |