|
|
@@ -59,6 +59,7 @@
|
|
|
} from "@/utils/common";
|
|
|
import {
|
|
|
login,
|
|
|
+ telBind,
|
|
|
sendCode
|
|
|
} from "@/api/login";
|
|
|
import cacheManager from "@/utils/cacheManager";
|
|
|
@@ -189,7 +190,7 @@
|
|
|
tel: loginData.phoneNumber,
|
|
|
code: loginData.yzmNumber,
|
|
|
}
|
|
|
- login(req).then(res => {
|
|
|
+ telBind(req).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
// 更新用户信息
|
|
|
cacheManager.set('auth', res.data)
|