Commit 6a19bc60 by liangjianmin

fix(login): 修正短信发送和登录接口的URL路径

- 将发送短信的接口路径从"/auth/send-sms"修改为"/auth/sendSms"
- 将短信登录的接口路径从"/auth/sms-login"修改为"/auth/smsLogin"
parent b765cb31
Showing with 2 additions and 2 deletions
......@@ -206,7 +206,7 @@
return false;
}
this.$http('post', "/auth/send-sms", {
this.$http('post', "/auth/sendSms", {
mobile: this.smsForm.mobile
}).then(res => {
if (res.code === 0) {
......@@ -358,7 +358,7 @@
background: 'rgba(0, 0, 0, 0)'
});
this.$http('post', "/auth/sms-login", {
this.$http('post', "/auth/smsLogin", {
mobile: this.smsForm.mobile,
sms_code: this.smsForm.smsCode
}).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment