Commit 6e2e1291 by 孙美琪

手机号登录修改

parent c1952428
...@@ -59,10 +59,6 @@ export function sendCode(data) { ...@@ -59,10 +59,6 @@ export function sendCode(data) {
export function submitCode(data) { export function submitCode(data) {
return request({ return request({
url: '/member/auth/sms-login', url: '/member/auth/sms-login',
headers: {
isToken: false,
repeatSubmit: false
},
method: 'post', method: 'post',
data: data data: data
}) })
......
...@@ -154,7 +154,7 @@ const startCountdown = () => { ...@@ -154,7 +154,7 @@ const startCountdown = () => {
}; };
function getCode() { function getCode() {
sendCode({mobile: loginForm.value.mobile, scene: 1}).then(res => { sendCode({mobile: loginForm.value.phoneNumber, scene: 1}).then(res => {
if (res.data === true) { if (res.data === true) {
ElMessage({message: '短信已发送请注意查收', type: 'success'}) ElMessage({message: '短信已发送请注意查收', type: 'success'})
} }
......
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