| | |
| | | url: `LoginAction_login?uinf.UName=${username}&uinf.Upassword=${encodeURIComponent(encodeURIComponent(formatPassword(password)))}&uinf.UNote=${verity}&uinf.UId=0`, |
| | | data: null |
| | | }); |
| | | } |
| | | /** |
| | | * 注册账号 |
| | | * 参数 "uinf.UName="+用户名+"&uinf.Upassword="+密码+"&uinf.UId="+是否记住密码(0,1) |
| | | * 密码需要使用hex_md5加密 |
| | | */ |
| | | export const register = (UName, USnId, USex, UMobilephone) => { |
| | | return axios({ |
| | | method: "post", |
| | | url: `User_infAction!register`, |
| | | data: "addjson=" + JSON.stringify({ |
| | | UName, |
| | | USnId: encodeURIComponent(encodeURIComponent(formatPassword(USnId))), |
| | | USex, |
| | | UMobilephone |
| | | }) |
| | | }); |
| | | }; |
| | | |
| | | export const getLoginVerity = () => { |