feat:管理后台系统设置页面 + 小程序登录页条件渲染
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user