import { get, post } from '@/utils/request'

// 查询短信白名单用户
export const queryMessageWhite = (params) => get('/admin/rbac/user/queryMessageWhite', params)
// 系统安全设置-查询
export const querySafety = (params) => get('/admin/common/safety/config/query', params)
// 系统安全设置-保存
export const saveSafety = (params) => post('/admin/common/safety/config/save', params)

// 发送短信
export const sendMessage = (params) => post('/admin/rbac/auth/sendMessage', params)
