1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import request from '@/utils/request' // 获取岗位/角色成员列表 export const getUserRelationList = (objectId) => { return request({ url: `/permission/UserRelation/${objectId}`, method: 'GET' }) } // 添加/更新岗位或角色成员 export const createUserRelation = (data) => { return request({ url: `/permission/UserRelation/${data.objectId}`, method: 'POST', data }) }