fix: 登录改为账号密码+微信登录
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-03-24 00:25:10 +00:00
parent af10a0b6f4
commit 7ca2e1d5a4
2 changed files with 90 additions and 60 deletions

View File

@@ -18,6 +18,13 @@ export default {
return api.request('/auth/phone-login', 'POST', { phone, code })
},
/**
* 账号密码登录
*/
passwordLogin(username, password) {
return api.request('/auth/login', 'POST', { username, password })
},
/**
* 微信登录
*/