feat:管理后台系统设置页面 + 小程序登录页条件渲染

This commit is contained in:
2026-06-27 10:27:14 +08:00
parent 9131203d1c
commit e3b21cac3e
6 changed files with 247 additions and 4 deletions
+10
View File
@@ -16,6 +16,15 @@ export const getSmsCode = async (phone) => {
return response
}
/**
* 获取登录方式配置
* @returns {Promise<Object>} 登录方式配置
*/
export const getLoginConfig = async () => {
const response = await get('/auth/loginConfig')
return response
}
/**
* 用户登录(手机号 + 验证码)
* @param {Object} params - 登录参数
@@ -134,6 +143,7 @@ export const checkPhone = async (phone) => {
}
export default {
getLoginConfig,
getSmsCode,
login,
wechatLogin,