mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-30 16:03:46 +00:00
* fix jwt to golang-jwt, gin to 1.7.0 * 增加按钮权限功能 * 增加redis可独立配置 Co-authored-by: helight <helight@helight.info>
28 lines
488 B
JavaScript
28 lines
488 B
JavaScript
|
|
import service from '@/utils/request'
|
|
|
|
export const getAuthorityBtnApi = (data) => {
|
|
return service({
|
|
url: '/authorityBtn/getAuthorityBtn',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export const setAuthorityBtnApi = (data) => {
|
|
return service({
|
|
url: '/authorityBtn/setAuthorityBtn',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export const canRemoveAuthorityBtnApi = (params) => {
|
|
return service({
|
|
url: '/authorityBtn/canRemoveAuthorityBtn',
|
|
method: 'post',
|
|
params
|
|
})
|
|
}
|
|
|