21 lines
551 B
JavaScript
21 lines
551 B
JavaScript
import request,{get,post} from "./request.js"
|
|
|
|
|
|
// =======账号密码登录========
|
|
export const getLoginPassword = (data) =>{
|
|
return post('/api/butler/auth/loginByPassword',data)
|
|
}
|
|
// 获取验证码
|
|
export const getSendCode = (data) =>{
|
|
return post('/api/butler/auth/sendSmsCode',data)
|
|
}
|
|
// 手机验证码登录
|
|
export const getLoginBySms = (data) =>{
|
|
return post('/api/butler/auth/loginBySms',data)
|
|
}
|
|
// 忘记密码接口
|
|
export const getResetPassword = (data) =>{
|
|
return post('/api/butler/auth/forgetPassword',data)
|
|
}
|
|
// 获取小区列表
|