You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
818 B
JavaScript

import request from '@/utils/request'
export function post(url, data) {
return request({
url: url,
data: data,
loading: true,
method: 'post'
})
}
export function authChange(data) {
return request({
url: '/plugin/auth/authChange',
data: data,
method: 'post'
})
}
export function authDetails(data) {
return request({
url: '/plugin/auth/authDetails',
data: data,
method: 'post'
})
}
export function authDetailsModel(authType) {
return request({
url: '/plugin/auth/authDetailsModel/' + authType,
method: 'get'
})
// return request({
// url: '/api/sys_auth/authDetailsModel/' + authType,
// method: 'get'
// })
}
export function authModel(data) {
return request({
url: '/plugin/auth/authModels',
data: data,
method: 'post'
})
}