import { getAction } from '@/api/manage'

// 用户权限
export const queryPermissionsByUser = params => getAction('/sys/permission/getUserPermissionByToken', params)
// 查询当前登陆人所有发送失败的消息，并发送
export const sendMissMessage = params => getAction('/sys/sysAnnouncementSend/sendMissMessage', params)
// 字典标签专用（通过code获取字典数组）
export const ajaxGetDictItems = (code, params) => getAction(`/sys/dict/getDictItems/${code}`, params)
