优化修改密码部分

This commit is contained in:
lemon橪
2021-08-26 09:48:32 +08:00
parent 25fb26b7d0
commit 9a91e58f2c
3 changed files with 12 additions and 13 deletions

View File

@@ -18,9 +18,9 @@ export function resetByMobile(params) {
* 发送验证码
* @param mobile
*/
export function sendMobile(mobile) {
export function sendMobile(mobile,type='LOGIN') {
return http.request({
url: `${api.common}/sms/LOGIN/${mobile}`,
url: `${api.common}/sms/${type}/${mobile}`,
method: "GET",
});
}