| | |
| | | } |
| | | //获取邮箱或手机号的验证码 |
| | | function getVeriCode(data) { |
| | | return Axios.fetch("wap/api/idcode/execute", data); |
| | | return Axios.fetch("wap/api/idcode!execute.action", data); |
| | | } |
| | | |
| | | //根据用户名和类型获取它的验证方式,用于重置密码界面, |
| | |
| | | |
| | | //账号名注册 |
| | | function accountRegister(data) { |
| | | return Axios.fetch("wap/api/user/registerUsername", data); |
| | | return Axios.fetch("wap/api/user!registerUsername", data); |
| | | } |
| | | |
| | | //手机号或邮箱注册 |
| | | function resgister(data) { |
| | | return Axios.fetch("wap/api/user/register", data); |
| | | return Axios.fetch("wap/api/localuser!registerNoVerifcode.action", data); |
| | | } |
| | | |
| | | ///通过谷歌验证器重置密码 |