【修改】注册联调

This commit is contained in:
fengachen
2021-12-17 20:34:27 +08:00
parent 2b9c882ad2
commit b32c9edb24
3 changed files with 89 additions and 36 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ const UserApi = {
// 获取用户的信息
getUserInfo: (params) => http.get(`${URL_CONFIG}sys/user/queryById`, params),
// 注册
registerUser: (params) => http.post(`${URL_CONFIG}sys/user/register`, params),
registerUser: (params) => http.post(`${URL_CONFIG}home/registerSelf`, params),
// 手机号唯一校验
checkPhoneOnly: (params) => http.get(`${URL_CONFIG}/sys/duplicate/check`, params),
}
export default UserApi