feat: 完善请求日志过滤

This commit is contained in:
橙子
2024-10-21 23:07:44 +08:00
parent 998d97b669
commit 57ad7ae1a3
6 changed files with 164 additions and 21 deletions

View File

@@ -83,7 +83,7 @@ export function getCodeImg() {
});
}
// 获取短信验证码
export function getCodePhone(phone) {
export function getCodePhone(phoneForm) {
return request({
url: "/account/captcha-phone",
headers: {
@@ -91,11 +91,11 @@ export function getCodePhone(phone) {
},
method: "post",
timeout: 20000,
data: { phone },
data: phoneForm,
});
}
// 获取短信验证码-为了重置密码
export function getCodePhoneForRetrievePassword(phone) {
export function getCodePhoneForRetrievePassword(form) {
return request({
url: "/account/captcha-phone/repassword",
headers: {
@@ -103,6 +103,6 @@ export function getCodePhoneForRetrievePassword(phone) {
},
method: "post",
timeout: 20000,
data: { phone },
data: form,
});
}