Browse Source

1. 修改短信登路得参数

MONSTER-ygh 1 year ago
parent
commit
62e776ee9d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/api/login.js

+ 2 - 2
src/api/login.js

@@ -71,9 +71,9 @@ export function getCodeNum(data) {
   })
 }
 
-export function loginCode(username, smsToken,code) {
+export function loginCode(mobile, smsToken,code) {
   const data = {
-    username,
+    mobile,
     smsToken,
     code
   }