Commit 47fa3f24 authored by fwz's avatar fwz

短信验证码post提交

parent 048eb84d
......@@ -437,8 +437,8 @@ export default {
}
})
if(phoneNumber){
let opts = { url: '/app/smsCode/binding/' + phoneNumber, method: 'get' };
this.http.httpTokenRequest(opts, {}).then(res => {
let opts = { url: '/app/smsCode/binding/', method: 'post' };
this.http.httpTokenRequest(opts, {phone: phoneNumber}).then(res => {
if (res.data.code == 200) {
that.isSend = true;
}
......
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 to comment