身份证号码登录开发

This commit is contained in:
冯辉
2025-11-14 19:05:03 +08:00
parent c798f1bdf2
commit 251770c057
5 changed files with 276 additions and 17 deletions

View File

@@ -198,8 +198,8 @@ const handleLogin = async () => {
loading.value = true
try {
// 调用账号密码登录接口
const res = await $api.createRequest('/app/login', {
// 调用手机号登录接口 /app/phoneLogin
const res = await $api.createRequest('/app/phoneLogin', {
username: form.username,
password: form.password
}, 'post')