You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import request from '@/apis/request.js'
|
|
|
|
const { get, post } = request
|
|
|
|
|
|
|
|
export const login = (data) => {
|
|
|
|
return get('users/users/user/weChatAppletCallback', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const userBinding = (data) => {
|
|
|
|
return post('users/users/user/userBinding', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const examinePassword = (data) => {
|
|
|
|
return post('users/users/userAccount/examinePassword', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const getUserRolesPermissionMenu = (data) => {
|
|
|
|
return get('users/user-role/getUserRolesPermissionMenu', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const updatePersonCenter = (data) => {
|
|
|
|
return post('users/users/userAccount/updatePersonCenter', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const queryUserInfoDetails = () => {
|
|
|
|
return get('users/users/userAccount/queryUserInfoDetails')
|
|
|
|
}
|
|
|
|
|
|
|
|
export const bindPhoneOrEmail = (data) => {
|
|
|
|
return post('users/users/userAccount/bindPhoneOrEmail', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const sendPhoneOrEmailCode = (data) => {
|
|
|
|
return post('users/users/userAccount/sendPhoneOrEmailCode', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const updateUserAvatars = `http://39.108.250.202:9000/users/users/userAccount/updateUserAvatars`
|