Skip to content

Commit

Permalink
🐛 修复修改验证码的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
csfwff committed Apr 29, 2024
1 parent 213065e commit db2a819
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/resources/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ var Settings = {
getPhoneCaptcha: function (csrfToken) {
$('#phoneGetBtn').attr('disabled', 'disabled').css('opacity', '0.3')
$.ajax({
url: Label.servePath + 'phone/vc',
url: Label.servePath + '/settings/phone/vc',
type: 'POST',
headers: {'csrfToken': csrfToken},
data: JSON.stringify({
Expand All @@ -438,6 +438,9 @@ var Settings = {
Util.alert(result.msg)
$('#phoneGetBtn').removeAttr('disabled').css('opacity', '1')
},
error: function (result) {
Util.alert(result.statusText)
}
})
},
/**
Expand Down

0 comments on commit db2a819

Please sign in to comment.