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.
 
 
 
 

21 lines
487 B

import request from '@/utils/request'
import qs from 'qs'
//角色授权时菜单列表(拥有的菜单选中)
export function getrolemenus(data) {
return request({
url: `/system/v1/rolemenus/${data.roleSid}`,
method: 'GET',
params: data
})
}
//保存 角色授权时菜单列表
export function saverolemenus(data) {
return request({
url: `/system/v1/rolemenus`,
method: 'POST',
data: data,
headers: {'Content-Type': 'application/json'}
})
}