账号密码登录 和 获取权限问题

This commit is contained in:
yeliang-king
2022-05-09 09:36:02 +08:00
parent df9530e48f
commit 5dcb364469
4 changed files with 295 additions and 110 deletions

View File

@@ -14,6 +14,23 @@ export function resetByMobile(params) {
});
}
/**
* 账号密码登陆
* @params password
* @params username
*/
export function userLogin(params){
return http.request({
method: "POST",
url:`/passport/member/userLogin`,
data: params,
header: {
"content-type": "application/x-www-form-urlencoded",
},
})
}
/**
* 发送验证码
* @param mobile